6 lines
79 B
TypeScript
6 lines
79 B
TypeScript
|
function foo(a?:string){}
|
||
|
foo('foo');
|
||
|
foo('foo', 'bar');
|
||
|
foo(4);
|
||
|
foo();
|