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