2014-07-13 01:04:16 +02:00
|
|
|
//// [constructorTypeWithTypeParameters.ts]
|
|
|
|
declare var X: {
|
|
|
|
new <T>(): number;
|
|
|
|
}
|
|
|
|
declare var Y: {
|
|
|
|
new (): number;
|
|
|
|
}
|
|
|
|
var anotherVar: new <T>() => number;
|
|
|
|
|
|
|
|
//// [constructorTypeWithTypeParameters.js]
|
|
|
|
var anotherVar;
|
|
|
|
|
|
|
|
|
|
|
|
//// [constructorTypeWithTypeParameters.d.ts]
|
2014-07-11 23:44:31 +02:00
|
|
|
declare var X;
|
|
|
|
declare var Y;
|
|
|
|
declare var anotherVar;
|