Error elaboration says nothing due to circularity #54921
Labels
Experience Enhancement
Noncontroversial enhancements
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
Bug Report
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
_b
:In trying to tell you why
string[]
is not assignable toSparseArray<string>
, the elaboration references two signatures which are identical except for their return types:string[]
andSparseArray<string>
, which lands you right back where you started.This particular example occurs in #50351, which is a separately buggy behavior, so this repro may stop reproing if that gets fixed.
The text was updated successfully, but these errors were encountered: