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
} = {}
2. Access the field and let the LSP suggest completion and accept when `name?` appears in the dropdown modal
```js
obj.name?
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
const obj: { name?: string } = {}
Video Re-Creation
https://github.com/user-attachments/assets/34eaff49-fea0-402b-8894-60e774ed6c38