mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
602 B
TypeScript
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 = {}));
|