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