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
When I'm compiling, the .d.ts file includes SvelteComponentTyped which was deprecated in svelte4. I don't know if there are any differences in the object that it references behind this type, but it should be replaced with SvelteComponent instead. This way whenever I'm importing the components I get this deprecated warning.
Create a svelte project and export a component, use the type in another project.
In the stackblitz pls delete "dist" folder and run "npm run build" and check out the .d.ts file, at the top you see the importing of a deprecated file even though the project uses svelte4
Describe the bug
When I'm compiling, the .d.ts file includes SvelteComponentTyped which was deprecated in svelte4. I don't know if there are any differences in the object that it references behind this type, but it should be replaced with SvelteComponent instead. This way whenever I'm importing the components I get this deprecated warning.
Reproduction
https://stackblitz.com/edit/vitejs-vite-srb31p
Steps to reproduce
Create a svelte project and export a component, use the type in another project.
In the stackblitz pls delete "dist" folder and run "npm run build" and check out the .d.ts file, at the top you see the importing of a deprecated file even though the project uses svelte4
System Info
Validations
The text was updated successfully, but these errors were encountered: