/** * ensures we can use 'typeof T' as a type * more details: * https://github.com/Microsoft/TypeScript/issues/204#issuecomment-257722306 */ export type GenericConstructor = new (...args: any[]) => T ;