17 lines
615 B
Plaintext
17 lines
615 B
Plaintext
=== tests/cases/compiler/constructorTypeWithTypeParameters.ts ===
|
|
declare var X: {
|
|
>X : new <T>() => number, Symbol(X, Decl(constructorTypeWithTypeParameters.ts, 0, 11))
|
|
|
|
new <T>(): number;
|
|
>T : T, Symbol(T, Decl(constructorTypeWithTypeParameters.ts, 1, 9))
|
|
}
|
|
declare var Y: {
|
|
>Y : new () => number, Symbol(Y, Decl(constructorTypeWithTypeParameters.ts, 3, 11))
|
|
|
|
new (): number;
|
|
}
|
|
var anotherVar: new <T>() => number;
|
|
>anotherVar : new <T>() => number, Symbol(anotherVar, Decl(constructorTypeWithTypeParameters.ts, 6, 3))
|
|
>T : T, Symbol(T, Decl(constructorTypeWithTypeParameters.ts, 6, 21))
|
|
|