TypeScript/tests/baselines/reference/blockScopedFunctionDeclarationES5.symbols

11 lines
344 B
Text

=== tests/cases/compiler/blockScopedFunctionDeclarationES5.ts ===
if (true) {
function foo() { }
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES5.ts, 0, 11))
foo();
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES5.ts, 0, 11))
}
foo();
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES5.ts, 0, 11))