16 lines
306 B
TypeScript
16 lines
306 B
TypeScript
//// [moduleCodegenTest4.ts]
|
|
export module Baz { export var x = "hello"; }
|
|
|
|
Baz.x = "goodbye";
|
|
void 0;
|
|
|
|
//// [moduleCodegenTest4.js]
|
|
"use strict";
|
|
exports.__esModule = true;
|
|
var Baz;
|
|
(function (Baz) {
|
|
Baz.x = "hello";
|
|
})(Baz = exports.Baz || (exports.Baz = {}));
|
|
Baz.x = "goodbye";
|
|
void 0;
|