6 lines
No EOL
76 B
TypeScript
6 lines
No EOL
76 B
TypeScript
interface C {
|
|
new <T>(x: T);
|
|
}
|
|
|
|
var v: C;
|
|
var r = new v<number>(1); |