Overload signature in method completion missing any
return type annotation
#57644
Labels
Milestone
any
return type annotation
#57644
π Search Terms
overload method completion
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
If you select method completion for
foo
, you get:There is an error on
foo(a: string): string;
:"This overload signature is not compatible with its implementation signature. ts(2394)"
π Expected behavior
If you select method completion for
foo
, you get:And no errors.
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: