mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
336 B
Plaintext
12 lines
336 B
Plaintext
blockScopedFunctionDeclarationInStrictModule.ts(6,10): error TS2304: Cannot find name 'foo'.
|
|
|
|
|
|
==== blockScopedFunctionDeclarationInStrictModule.ts (1 errors) ====
|
|
if (true) {
|
|
function foo() { }
|
|
foo(); // ok
|
|
}
|
|
|
|
export = foo; // not ok
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'. |