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