-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unexpected Token Error - Importing types in svelte components #11
Labels
bug
Something isn't working
Comments
WilliamDiakite
changed the title
Les types .d.ts ne peuvent pas être importés dans un composant ou route
Unexpected Error - Importing types
Mar 21, 2022
WilliamDiakite
changed the title
Unexpected Error - Importing types
Unexpected Token Error - Importing types in svelte components
Mar 21, 2022
Le problème venait de l'ordre dans lequel les preprocess sont appelés. Dans svelte.config.js, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Un bug provoque une erreur lorsqu'on tente d'importer des types (.d.ts) dans un composant ou une route svelte.
Exemple d'erreur
déclenché par la ligne
Autres issues:
import type
results in "Unexpected token" error sveltejs/language-tools#417EDIT: j'ai ouvert une issue sur carbon-preprocess-svelte. carbon-design-system/carbon-preprocess-svelte#28
The text was updated successfully, but these errors were encountered: