5 lines
83 B
TypeScript
5 lines
83 B
TypeScript
|
interface Foo<T> {
|
||
|
new (x: number): Foo<T>;
|
||
|
}
|
||
|
var f2: Foo<number> = new Foo(3);
|