-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarification
Description
Describe the bug
I was trying to use ts in my components with svelte 5 but it doesn't work and is says Button (my component) is not defined. When I stripped my project of ts, it was working.
Reproduction
https://replit.com/@arashmahipal/Svelte-Bug?v=1
Code for page.svelte (doesn't show when I open the link)
<script> import Dashboard from "$lib/Dashboard.svelte"; </script><Dashboard content={"Hello"} />
Logs
No response
System Info
System:
OS: macOS 14.2.1
CPU: (8) arm64 Apple M1
Memory: 145.47 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.16.0 - ~/.nvm/versions/node/v20.16.0/bin/node
npm: 10.8.3 - ~/.nvm/versions/node/v20.16.0/bin/npm
Browsers:
Safari: 17.2.1
npmPackages:
svelte: ^5.0.0-next.1 => 5.0.0-next.244Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarification