-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Type incompatible error in 8.0.0-beta.0 #672
Comments
Probably changing this in your svelte.config.js file will help.
|
@LittleSaya @hperrin
|
@alex-simplyonce I have the fix ready to go, but NPM was down (like, doing maintenance and wouldn't accept publishes) when I tried to push it on Sunday. I won't be able to try again until day after tomorrow. |
Problem fixed with 8.0.0-beta.2.
|
You shouldn't need the runes: true part, because every SMUI file turns in runes mode explicitly with svelte:options. |
Describe the bug
When using
Button
like this:I get error:
To Reproduce
pnpx sv create --template minimal --types ts svelte5_smui8_demo
eslint
+tailwindcss
pnpm
pnpm add --save-dev @smui/[email protected]
pnpm add --save-dev [email protected]
Button
and use it like aboveUpdate: I just checked that enabling the typescript plugin or not does not make a difference.
Expected behavior
No typescript error occurs.
Screenshots
Desktop (please complete the following information):
Additional context
A small reproduction, the
Button
is used insrc/routes/+layout.svelte
svelte5_smui8_demo.zip
The text was updated successfully, but these errors were encountered: