2015-02-17 18:28:55 +01:00
|
|
|
//// [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]
|
2015-03-17 04:47:08 +01:00
|
|
|
class c {
|
|
|
|
}
|
2015-02-17 18:28:55 +01:00
|
|
|
var m;
|
|
|
|
(function (m) {
|
|
|
|
m.x = 10;
|
|
|
|
})(m || (m = {}));
|
|
|
|
var x = 10;
|
2015-03-12 19:51:32 +01:00
|
|
|
export { c };
|
|
|
|
export { c as c2 };
|
|
|
|
export { i, m as instantiatedModule };
|
|
|
|
export { uninstantiated };
|
|
|
|
export { x };
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
//// [es6ExportClause.d.ts]
|
|
|
|
declare class c {
|
|
|
|
}
|
|
|
|
interface i {
|
|
|
|
}
|
|
|
|
declare module m {
|
|
|
|
var x: number;
|
|
|
|
}
|
|
|
|
declare var x: number;
|
|
|
|
declare module uninstantiated {
|
|
|
|
}
|
|
|
|
export { c };
|
|
|
|
export { c as c2 };
|
|
|
|
export { i, m as instantiatedModule };
|
|
|
|
export { uninstantiated };
|
|
|
|
export { x };
|