Return completions for properties with string keys #19433
Labels
Fixed
A PR has been merged for this issue
Suggestion
An idea for TypeScript
VS Code Tracked
There is a VS Code equivalent to this issue
Milestone
From microsoft/vscode#36429
Code
Trigger completions at the end of
sounds
Expected behavior:
Completion entries for all three member properties are returned. Selecting each triggers the following insertions:
Actual behavior:
Only completion entries for valid JS identifier names are returned (
cat in this instance
).The object in this case already has the correct types, we just don't return completions for them
The text was updated successfully, but these errors were encountered: