7 lines
108 B
TypeScript
7 lines
108 B
TypeScript
interface A {}
|
|
|
|
function factory(a: any): {new(): Object} {
|
|
return null;
|
|
}
|
|
|
|
class C extends factory(A) {}
|