mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
391 B
TypeScript
25 lines
391 B
TypeScript
//// [tests/cases/compiler/commentEmitAtEndOfFile1.ts] ////
|
|
|
|
//// [commentEmitAtEndOfFile1.ts]
|
|
// test
|
|
var f = ''
|
|
// test #2
|
|
namespace foo {
|
|
function bar() { }
|
|
}
|
|
// test #3
|
|
namespace empty {
|
|
}
|
|
// test #4
|
|
|
|
//// [commentEmitAtEndOfFile1.js]
|
|
"use strict";
|
|
// test
|
|
var f = '';
|
|
// test #2
|
|
var foo;
|
|
(function (foo) {
|
|
function bar() { }
|
|
})(foo || (foo = {}));
|
|
// test #4
|