Files
tsgo/testdata/baselines/reference/submodule/compiler/commentInNamespaceDeclarationWithIdentifierPathName.js

24 lines
602 B
TypeScript

//// [tests/cases/compiler/commentInNamespaceDeclarationWithIdentifierPathName.ts] ////
//// [commentInNamespaceDeclarationWithIdentifierPathName.ts]
namespace hello.hi.world
{
function foo() {}
// TODO, blah
}
//// [commentInNamespaceDeclarationWithIdentifierPathName.js]
"use strict";
var hello;
(function (hello) {
var hi;
(function (hi) {
var world;
(function (world) {
function foo() { }
// TODO, blah
})(world = hi.world || (hi.world = {}));
})(hi = hello.hi || (hello.hi = {}));
})(hello || (hello = {}));