Suggestions are not listed properly for arrays of generic type in function parameters (contextual completion) #53555
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Experience Enhancement
Noncontroversial enhancements
Suggestion
An idea for TypeScript
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
suggestions, intellisense, autocomplete
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
When the array is empty, there is no suggestions at all
When the array has items, the suggestions are restricted to the items already set in the array
π Expected behavior
In both cases, we should have the full list of suggestions
'a' | 'b'
The text was updated successfully, but these errors were encountered: