You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
constobj: {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
The text was updated successfully, but these errors were encountered:
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
name?
appears in the dropdown modalVideo Re-Creation
Screen.Recording.2024-10-07.at.12.12.30.PM.mov
The text was updated successfully, but these errors were encountered: