39 lines
527 B
Text
39 lines
527 B
Text
|
=== tests/cases/compiler/es6ExportClause.ts ===
|
||
|
|
||
|
class c {
|
||
|
>c : c
|
||
|
}
|
||
|
interface i {
|
||
|
>i : i
|
||
|
}
|
||
|
module m {
|
||
|
>m : typeof m
|
||
|
|
||
|
export var x = 10;
|
||
|
>x : number
|
||
|
}
|
||
|
var x = 10;
|
||
|
>x : number
|
||
|
|
||
|
module uninstantiated {
|
||
|
>uninstantiated : unknown
|
||
|
}
|
||
|
export { c };
|
||
|
>c : typeof c
|
||
|
|
||
|
export { c as c2 };
|
||
|
>c : typeof c
|
||
|
>c2 : typeof c
|
||
|
|
||
|
export { i, m as instantiatedModule };
|
||
|
>i : unknown
|
||
|
>m : typeof m
|
||
|
>instantiatedModule : typeof m
|
||
|
|
||
|
export { uninstantiated };
|
||
|
>uninstantiated : unknown
|
||
|
|
||
|
export { x };
|
||
|
>x : number
|
||
|
|