TypeScript/tests/cases/compiler/functionCall14.ts

7 lines
117 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function foo(a?:string, ...b:number[]){}
foo('foo', 1);
foo('foo');
foo();
foo(1, 'bar');
foo('foo', 1, 3);