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
Using a legacy component with slots via snippets, the available snippets may not be resolved correctly and arguments passed to the snippets end up as any.
Describe the bug
Using a legacy component with slots via snippets, the available snippets may not be resolved correctly and arguments passed to the snippets end up as
any
.Reproduction
(The runtime behavior is correct.)
Expected behaviour
loading
is detected as a valid slot/snippet.value
is generically typed correctly (herestring
).System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
Extension &
svelte-check
yield same errors.If the
loading
snippet is not there, the next snippet will show an error, onlypromise
&children
are detected as valid properties.The text was updated successfully, but these errors were encountered: