mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
507 B
Plaintext
11 lines
507 B
Plaintext
functionOverloads19.ts(1,10): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
|
|
|
|
==== functionOverloads19.ts (1 errors) ====
|
|
function foo(bar:{b:string;});
|
|
~~~
|
|
!!! error TS2394: This overload signature is not compatible with its implementation signature.
|
|
!!! related TS2750 functionOverloads19.ts:3:10: The implementation signature is declared here.
|
|
function foo(bar:{a:string;});
|
|
function foo(bar:{a:any;}) { return {a:""} }
|
|
|