types.d.ts 167 B

1234567
  1. /**
  2. * A callable type with "new" operator allows
  3. * class and constructor.
  4. */
  5. export interface Constructor<T extends object = object> {
  6. new (...args: any[]): T;
  7. }