5 lines
120 B
TypeScript
5 lines
120 B
TypeScript
|
function foo():string;
|
||
|
function foo(bar:string):number;
|
||
|
function foo(bar?:any):any{ return '' }
|
||
|
var x = foo('baz');
|