38 lines
572 B
JavaScript
38 lines
572 B
JavaScript
|
//// [es6ExportClause.ts]
|
||
|
|
||
|
class c {
|
||
|
}
|
||
|
interface i {
|
||
|
}
|
||
|
module m {
|
||
|
export var x = 10;
|
||
|
}
|
||
|
var x = 10;
|
||
|
module uninstantiated {
|
||
|
}
|
||
|
export { c };
|
||
|
export { c as c2 };
|
||
|
export { i, m as instantiatedModule };
|
||
|
export { uninstantiated };
|
||
|
export { x };
|
||
|
|
||
|
//// [es6ExportClause.js]
|
||
|
var c = (function () {
|
||
|
function c() {
|
||
|
}
|
||
|
return c;
|
||
|
})();
|
||
|
var m;
|
||
|
(function (m) {
|
||
|
m.x = 10;
|
||
|
})(m || (m = {}));
|
||
|
var x = 10;
|
||
|
export { c };
|
||
|
export { c as c2 };
|
||
|
export { i, m as instantiatedModule };
|
||
|
export { uninstantiated };
|
||
|
export { x };
|
||
|
|
||
|
|
||
|
//// [es6ExportClause.d.ts]
|