25 lines
357 B
TypeScript
25 lines
357 B
TypeScript
//// [multipleExports.ts]
|
|
|
|
export module M {
|
|
export var v = 0;
|
|
export let x;
|
|
}
|
|
|
|
const x = 0;
|
|
export module M {
|
|
v;
|
|
export {x};
|
|
}
|
|
|
|
|
|
//// [multipleExports.js]
|
|
"use strict";
|
|
var M;
|
|
(function (M) {
|
|
M.v = 0;
|
|
})(M = exports.M || (exports.M = {}));
|
|
var x = 0;
|
|
var M;
|
|
(function (M) {
|
|
M.v;
|
|
})(M = exports.M || (exports.M = {}));
|