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