chore: initial commit for @alveojs/common

This commit is contained in:
M1000fr
2026-01-12 12:55:42 +01:00
parent 25c6e46b99
commit 7fb2e3dc88
185 changed files with 464368 additions and 0 deletions

10
src/types.ts Normal file
View File

@@ -0,0 +1,10 @@
// biome-ignore lint/suspicious/noExplicitAny: Required for constructor variance compatibility
export type ConstructorArgs = any[];
export type Constructor<T = unknown> = new (...args: ConstructorArgs) => T;
export type Abstract<T = unknown> = abstract new (
...args: ConstructorArgs
) => T;
export type Type<T = unknown> = Constructor<T> | Abstract<T>;