Open
Description
Bug Summary
I've encountered a bug where if you have an object with an optional field and use autocomplete to access the field, it will append a question mark ?
to the end of the property name.
Steps to Reproduce Bug
- Create an object with an optional field:
const obj: {
name?: string
} = {}
- Access the field and let the LSP suggest completion and accept when
name?
appears in the dropdown modal
obj.name?
Video Re-Creation
Screen.Recording.2024-10-07.at.12.12.30.PM.mov
Metadata
Metadata
Assignees
Labels
No labels