33 lines
444 B
Text
33 lines
444 B
Text
=== tests/cases/compiler/es5ExportDefaultClassDeclaration3.ts ===
|
|
|
|
var before: C = new C();
|
|
>before : C
|
|
>C : C
|
|
>new C() : C
|
|
>C : typeof C
|
|
|
|
export default class C {
|
|
>C : C
|
|
|
|
method(): C {
|
|
>method : () => C
|
|
>C : C
|
|
|
|
return new C();
|
|
>new C() : C
|
|
>C : typeof C
|
|
}
|
|
}
|
|
|
|
var after: C = new C();
|
|
>after : C
|
|
>C : C
|
|
>new C() : C
|
|
>C : typeof C
|
|
|
|
var t: typeof C = C;
|
|
>t : typeof C
|
|
>C : typeof C
|
|
>C : typeof C
|
|
|
|
|