TypeScript/tests/baselines/reference/functionOverloads8.types
2014-08-15 14:37:48 -07:00

13 lines
289 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