-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: add experimental support for generics directive #477
Conversation
🦋 Changeset detectedLatest commit: 81e4201 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
c35cc70
to
35bfb04
Compare
Pull Request Test Coverage Report for Build 8127749354Details
💛 - Coveralls |
I eventually ended up here when searching for The fix is to update your eslint.config.js to include the option @ota-meshi mentioned. E.g.
|
close #306
close sveltejs/eslint-plugin-svelte#521
generics
are not yet marked as experimental features in this parser (Parsing ofgenerics
is not opt-in and is always enabled), but before official release,generics
should be made experimental if they are still undocumented.To use it you need to set
parserOptions.svelteFeatures.experimentalGenerics
to true.