TypeScript/tests/baselines/reference/functionOverloads17.errors.txt

6 lines
256 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/functionOverloads17.ts (1 errors) ====
function foo():{a:number;}
~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Overload signature is not compatible with function implementation.
function foo():{a:string;} { return {a:""} }