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