mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
392 B
Plaintext
13 lines
392 B
Plaintext
//// [tests/cases/compiler/blockScopedFunctionDeclarationInStrictModule.ts] ////
|
|
|
|
=== blockScopedFunctionDeclarationInStrictModule.ts ===
|
|
if (true) {
|
|
function foo() { }
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationInStrictModule.ts, 0, 11))
|
|
|
|
foo(); // ok
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationInStrictModule.ts, 0, 11))
|
|
}
|
|
|
|
export = foo; // not ok
|