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
So declaring the interface itself is no issue, just my edge-case here.
Logs
21:12:07 [vite] Internal server error: [...] `$$Events` is an illegal variable name. To reference a global variable called `$$Events`, use `globalThis.$$Events`
Plugin: vite-plugin-svelte
The text was updated successfully, but these errors were encountered:
rChaoz
changed the title
$$Events is an illegal variable name - for TypeScript interface
Updating to Svelte 5: $$Events is an illegal variable name
May 1, 2024
rChaoz
changed the title
Updating to Svelte 5: $$Events is an illegal variable name
Svelte 5: $$Events is an illegal variable name
May 1, 2024
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I was testing updating my projecte to Svelte 5, and it seems like it believes that
$$Events
is a variable, but it's actually a type.Probably related to #11416
Reproduction
So declaring the interface itself is no issue, just my edge-case here.
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: