TypeScript/tests/cases/compiler/constructorTypeWithTypeParameters.ts
2014-07-12 17:30:19 -07:00

8 lines
146 B
TypeScript

// @declaration: true
declare var X: {
new <T>(): number;
}
declare var Y: {
new (): number;
}
var anotherVar: new <T>() => number;