Newest questions tagged typescript - Stack Overflow
Why is the 2nd overload picked-up?
interface Type extends Function { new(...args: any[]): T; } interface AbstractType extends Function { prototype: T; } // works fine if the lone definition declare function inject(token: Type): T; // KO declare
View original source