6 lines
83 B
TypeScript
6 lines
83 B
TypeScript
|
function foo(...a:number[]){};
|
||
|
foo(0, 1);
|
||
|
foo('foo');
|
||
|
foo();
|
||
|
foo(1, 'bar');
|