6 lines
118 B
TypeScript
6 lines
118 B
TypeScript
|
function foo(a?:string, b?:number){};
|
||
|
foo('foo', 1);
|
||
|
foo('foo');
|
||
|
foo('foo','bar');
|
||
|
foo('foo', 1, 'bar');
|
||
|
foo();
|