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
The keys are strings. Yes JavaScript auto converts the bracketed value to a string, but that does not mean we want show IntelliSense suggesting to use a number literal here. As a more extreme example, consider:
constb={5: 'xyz'}b[{toString: ()=>'5'}]// 'xyz'
Instead we show IntelliSense inside brackets when you start typing a string key:
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: