19 lines
271 B
TypeScript
19 lines
271 B
TypeScript
//// [letDeclarations2.ts]
|
|
|
|
module M {
|
|
let l1 = "s";
|
|
export let l2 = 0;
|
|
}
|
|
|
|
//// [letDeclarations2.js]
|
|
var M;
|
|
(function (M) {
|
|
let l1 = "s";
|
|
M.l2 = 0;
|
|
})(M || (M = {}));
|
|
|
|
|
|
//// [letDeclarations2.d.ts]
|
|
declare module M {
|
|
let l2: number;
|
|
}
|