Open matthew-dean opened 10 months ago
I tested this as a PNPM patch, and it seemed to work locally. It's the same syntax InstanceType uses.
InstanceType
I think, in TypeScript terms, new () => any is a subtype of abstract new () => any, so this ends up covering both cases.
new () => any
abstract new () => any
I tested this as a PNPM patch, and it seemed to work locally. It's the same syntax
InstanceType
uses.I think, in TypeScript terms,
new () => any
is a subtype ofabstract new () => any
, so this ends up covering both cases.