mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
285 B
TypeScript
18 lines
285 B
TypeScript
//// [tests/cases/compiler/forInModule.ts] ////
|
|
|
|
//// [forInModule.ts]
|
|
namespace Foo {
|
|
for (var i = 0; i < 1; i++) {
|
|
i+i;
|
|
}
|
|
}
|
|
|
|
//// [forInModule.js]
|
|
"use strict";
|
|
var Foo;
|
|
(function (Foo) {
|
|
for (var i = 0; i < 1; i++) {
|
|
i + i;
|
|
}
|
|
})(Foo || (Foo = {}));
|