-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
If you try to import a Svelte component with a snippet in a TS file, the type is not inferred correctly.
Reproduction
// foo.ts
import Foo from "./Foo.svelte";<!-- Foo.svelte -->
{#snippet foo()}
{/snippet}Expected behaviour
The import should have the correct type.
Screen_Recording_2024-02-21_at_3.43.46_AM.mov
System Info
- OS: MacOS 14.2.1
- IDE: VSCode
Which package is the issue about?
No response
Additional Information, eg. Screenshots
No response
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working