Closed btakita closed 1 year ago
I have the same problems usign Webstorm with the latest version of plugin.
each
doesn't recognize data
as Book
type.
In VSCode everything is okay:
This issue is the sole reason atm I cannot recommend Svelte to my colleagues :/
Contained in WEB-58397 use the svelte language server.
If a Component uses Typescript, the types should carry over into the markup.
In the above example, the variable
peach
should be typed. Javascript inference occurs, which is somewhat useful, but limited in usefulness. For example, theType Info
command resolves to<unknown type>
for bothpeach
&idx
.