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
When defining an Action with explicit parameter types, the compiler still infers the parameters as any, leading to type errors when accessing properties:
But this seems to happen only in the IDE because when running svelte-check there are no errors.
Describe the bug
When defining an Action with explicit parameter types, the compiler still infers the parameters as
any
, leading to type errors when accessing properties:But this seems to happen only in the IDE because when running
svelte-check
there are no errors.Reproduction
https://github.com/colinlienard/svelte-5-repro in
src/App.svelte
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: