UNPKG

typed-utilities

Version:
7 lines (6 loc) 157 B
export declare type ConstructorType<C> = C extends { new (...args: infer Args): infer Instance; } ? { instance: Instance; args: Args; } : never;