export type Constructor = { new (...args: any[]): T; }; export type ConstructorArguments = { new (...args: T): unknown; };