mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
533 B
Plaintext
11 lines
533 B
Plaintext
functionOverloadCompatibilityWithVoid01.ts(1,10): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
|
|
|
|
==== functionOverloadCompatibilityWithVoid01.ts (1 errors) ====
|
|
function f(x: string): number;
|
|
~
|
|
!!! error TS2394: This overload signature is not compatible with its implementation signature.
|
|
!!! related TS2750 functionOverloadCompatibilityWithVoid01.ts:2:10: The implementation signature is declared here.
|
|
function f(x: string): void {
|
|
return;
|
|
} |