6 lines
256 B
Plaintext
6 lines
256 B
Plaintext
|
==== 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:""} }
|
||
|
|