4 lines
138 B
TypeScript
4 lines
138 B
TypeScript
|
function foo(foo:{a:string;}):string;
|
||
|
function foo(foo:{a:string;}):number;
|
||
|
function foo(foo:{a:string; b?:number;}):any { return "" }
|