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