The same project is open. My Icon component is typed correctly.
Why does VSCode, when displaying values for the name field, show only the values available to it, while in WebStorm it offers values from the whole object?
If I specify a wrong value TypeScript complains about the typing - i.e. it works 100%.
- TypeScript v5.3.3
- WebStorm v2023.3.6
Tried it:
Invalidate Caches
Expecting:
Autocomplete should only show allowed values

