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 40 41 42 43 44 45 46 47 48 49 50
|
=== tests/cases/conformance/externalModules/esnext/esnextmodulekindWithES5Target.ts ===
export class C {
>C : C
static s = 0;
>s : number
>0 : 0
p = 1;
>p : number
>1 : 1
method() { }
>method : () => void
}
export { C as C2 };
>C : typeof C
>C2 : typeof C
declare function foo(...args: any[]): any;
>foo : (...args: any[]) => any
>args : any[]
@foo
>foo : (...args: any[]) => any
export class D {
>D : D
static s = 0;
>s : number
>0 : 0
p = 1;
>p : number
>1 : 1
method() { }
>method : () => void
}
export { D as D2 };
>D : typeof D
>D2 : typeof D
class E { }
>E : E
export {E};
>E : typeof E
|