TypeScript/tests/baselines/reference/staticPrototypePropertyOnClass.types

43 lines
1.4 KiB
Text

=== tests/cases/compiler/staticPrototypePropertyOnClass.ts ===
class c1 {
>c1 : c1, Symbol(c1,Decl(staticPrototypePropertyOnClass.ts,0,0))
}
class c2<T> {
>c2 : c2<T>, Symbol(c2,Decl(staticPrototypePropertyOnClass.ts,1,1))
>T : T, Symbol(T,Decl(staticPrototypePropertyOnClass.ts,2,9))
}
class c3 {
>c3 : c3, Symbol(c3,Decl(staticPrototypePropertyOnClass.ts,3,1))
constructor() {
}
}
class c4 {
>c4 : c4, Symbol(c4,Decl(staticPrototypePropertyOnClass.ts,7,1))
constructor(param: string);
>param : string, Symbol(param,Decl(staticPrototypePropertyOnClass.ts,9,16))
constructor(param: number);
>param : number, Symbol(param,Decl(staticPrototypePropertyOnClass.ts,10,16))
constructor(param: any) {
>param : any, Symbol(param,Decl(staticPrototypePropertyOnClass.ts,11,16))
}
}
var a = c1;
>a : typeof c1, Symbol(a,Decl(staticPrototypePropertyOnClass.ts,14,3))
>c1 : typeof c1, Symbol(c1,Decl(staticPrototypePropertyOnClass.ts,0,0))
var b = c2;
>b : typeof c2, Symbol(b,Decl(staticPrototypePropertyOnClass.ts,15,3))
>c2 : typeof c2, Symbol(c2,Decl(staticPrototypePropertyOnClass.ts,1,1))
var c = c3;
>c : typeof c3, Symbol(c,Decl(staticPrototypePropertyOnClass.ts,16,3))
>c3 : typeof c3, Symbol(c3,Decl(staticPrototypePropertyOnClass.ts,3,1))
var d = c4;
>d : typeof c4, Symbol(d,Decl(staticPrototypePropertyOnClass.ts,17,3))
>c4 : typeof c4, Symbol(c4,Decl(staticPrototypePropertyOnClass.ts,7,1))