Files
tsgo/testdata/baselines/reference/submodule/compiler/functionCall11.symbols
2025-02-26 14:53:49 -08:00

24 lines
611 B
Plaintext

//// [tests/cases/compiler/functionCall11.ts] ////
=== functionCall11.ts ===
function foo(a:string, b?:number){}
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))
>a : Symbol(a, Decl(functionCall11.ts, 0, 13))
>b : Symbol(b, Decl(functionCall11.ts, 0, 22))
foo('foo', 1);
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))
foo('foo');
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))
foo();
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))
foo(1, 'bar');
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))
foo('foo', 1, 'bar');
>foo : Symbol(foo, Decl(functionCall11.ts, 0, 0))