Home > types-kit > Constructor
Create a constructor type.
Signature:
export type Constructor<T, P extends unknown[] = unknown[]> = new (
...args: P
) => THome > types-kit > Constructor
Create a constructor type.
Signature:
export type Constructor<T, P extends unknown[] = unknown[]> = new (
...args: P
) => T