1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
=== tests/cases/compiler/declFileTypeofClass.ts ===
class c {
>c : c
static x : string;
>x : string
private static y: number;
>y : number
private x3: string;
>x3 : string
public y3: number;
>y3 : number
}
var x: c;
>x : c
>c : c
var y = c;
>y : typeof c
>c : typeof c
var z: typeof c;
>z : typeof c
>c : typeof c
class genericC<T>
>genericC : genericC<T>
>T : T
{
}
var genericX = genericC;
>genericX : typeof genericC
>genericC : typeof genericC
|