mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
477 B
Plaintext
20 lines
477 B
Plaintext
//// [tests/cases/compiler/functionCall10.ts] ////
|
|
|
|
=== functionCall10.ts ===
|
|
function foo(...a:number[]){};
|
|
>foo : Symbol(foo, Decl(functionCall10.ts, 0, 0))
|
|
>a : Symbol(a, Decl(functionCall10.ts, 0, 13))
|
|
|
|
foo(0, 1);
|
|
>foo : Symbol(foo, Decl(functionCall10.ts, 0, 0))
|
|
|
|
foo('foo');
|
|
>foo : Symbol(foo, Decl(functionCall10.ts, 0, 0))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(functionCall10.ts, 0, 0))
|
|
|
|
foo(1, 'bar');
|
|
>foo : Symbol(foo, Decl(functionCall10.ts, 0, 0))
|
|
|