7 lines
115 B
TypeScript
7 lines
115 B
TypeScript
|
function foo(a:string, ...b:number[]){}
|
||
|
foo('foo', 1);
|
||
|
foo('foo');
|
||
|
foo();
|
||
|
foo(1, 'bar');
|
||
|
foo('foo', 1, 3);
|