TypeScript/tests/baselines/reference/functionOverloads8.types
2015-04-15 16:44:20 -07:00

14 lines
303 B
Plaintext

=== tests/cases/compiler/functionOverloads8.ts ===
function foo();
>foo : { (): any; (foo: string): any; }
function foo(foo:string);
>foo : { (): any; (foo: string): any; }
>foo : string
function foo(foo?:any){ return '' }
>foo : { (): any; (foo: string): any; }
>foo : any
>'' : string