2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/constructorTypeWithTypeParameters.ts ===
|
|
|
|
declare var X: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>X : new <T>() => number, Symbol(X, Decl(constructorTypeWithTypeParameters.ts, 0, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new <T>(): number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>T : T, Symbol(T, Decl(constructorTypeWithTypeParameters.ts, 1, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
declare var Y: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Y : new () => number, Symbol(Y, Decl(constructorTypeWithTypeParameters.ts, 3, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (): number;
|
|
|
|
}
|
|
|
|
var anotherVar: new <T>() => number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>anotherVar : new <T>() => number, Symbol(anotherVar, Decl(constructorTypeWithTypeParameters.ts, 6, 3))
|
|
|
|
>T : T, Symbol(T, Decl(constructorTypeWithTypeParameters.ts, 6, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|