Regression in autocompletion on spread generic arguments #54572
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Help Wanted
You can do this
Possible Improvement
The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone
Bug Report
π Search Terms
autocomplete, regression
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
It should autocomplete inside both '' (empty string) places with value1|value2|value3 possible values, however it shows incorrect (kind of randomly gathered) options. For eg.:
π Expected behavior
It should show only value1 / value2 / value3 options (as it does correctly with 5.0.4 and before), like this:
This issue could be related to (#53555) and (#52726) but I think my case is more basic, and appeared only in the latest (5.1.3) version of TS. (couldn't test if versions between 5.1.0 and 5.1.3 were affected or not, I could test only 5.1.3).
The text was updated successfully, but these errors were encountered: