mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
392 B
TypeScript
24 lines
392 B
TypeScript
//// [tests/cases/compiler/functionInIfStatementInModule.ts] ////
|
|
|
|
//// [functionInIfStatementInModule.ts]
|
|
|
|
namespace Midori
|
|
{
|
|
if (false) {
|
|
function Foo(src)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//// [functionInIfStatementInModule.js]
|
|
"use strict";
|
|
var Midori;
|
|
(function (Midori) {
|
|
if (false) {
|
|
function Foo(src) {
|
|
}
|
|
}
|
|
})(Midori || (Midori = {}));
|