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