5 lines
No EOL
233 B
Text
5 lines
No EOL
233 B
Text
==== tests/cases/compiler/functionOverloads4.ts (1 errors) ====
|
|
function foo():number;
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! Overload signature is not compatible with function implementation.
|
|
function foo():string { return "a" } |