TypeScript/tests/baselines/reference/es6ExportClause.types

40 lines
1.1 KiB
Text

=== tests/cases/compiler/es6ExportClause.ts ===
class c {
>c : c, Symbol(c,Decl(es6ExportClause.ts,0,0))
}
interface i {
>i : i, Symbol(i,Decl(es6ExportClause.ts,2,1))
}
module m {
>m : typeof m, Symbol(m,Decl(es6ExportClause.ts,4,1))
export var x = 10;
>x : number, Symbol(x,Decl(es6ExportClause.ts,6,14))
>10 : number
}
var x = 10;
>x : number, Symbol(x,Decl(es6ExportClause.ts,8,3))
>10 : number
module uninstantiated {
>uninstantiated : any, Symbol(uninstantiated,Decl(es6ExportClause.ts,8,11))
}
export { c };
>c : typeof c, Symbol(c,Decl(es6ExportClause.ts,11,8))
export { c as c2 };
>c : typeof c, Symbol(c2,Decl(es6ExportClause.ts,12,8))
>c2 : typeof c, Symbol(c2,Decl(es6ExportClause.ts,12,8))
export { i, m as instantiatedModule };
>i : any, Symbol(i,Decl(es6ExportClause.ts,13,8))
>m : typeof m, Symbol(instantiatedModule,Decl(es6ExportClause.ts,13,11))
>instantiatedModule : typeof m, Symbol(instantiatedModule,Decl(es6ExportClause.ts,13,11))
export { uninstantiated };
>uninstantiated : any, Symbol(uninstantiated,Decl(es6ExportClause.ts,14,8))
export { x };
>x : number, Symbol(x,Decl(es6ExportClause.ts,15,8))