-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Svelte 5 generics #583
Comments
I wasn't aware that See https://github.com/sveltejs/svelte-eslint-parser?tab=readme-ov-file#parseroptionssveltefeatures parserOptions: {
// ...
svelteFeatures: {
experimentalGenerics: true,
}
}, |
That link works fine on my local computer, I don't know what the problem is... |
Great, I enabled the config and it works, thanks! They're official, so maybe it's time to stabilize them here as well :) |
Well, the RFC hasn't been merged yet, but it's in the official documentation so we can probably consider it an official feature.
I think so 👍 |
Description
Hi,
generics are now officially part of Svelte 5. However, it seems to me that this parsers doesn't support them:
Gives
'ValueType' is not defined
and similarI tried to create a repro, but the playground is stuck at "Starting WebContainer"...
The text was updated successfully, but these errors were encountered: