Skip to content

Find Component References doesn't work anymore with Svelte 5 mount #2700

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

Open
Jojoshua opened this issue Mar 5, 2025 · 1 comment
Open
Labels
bug Something isn't working upstream

Comments

@Jojoshua
Copy link
Contributor

Jojoshua commented Mar 5, 2025

Describe the bug

#1509 introduced a way to find component usages and it worked where the component was used either in another svelte file or .TS file (including when importing dynamically). The find usage in a .TS file where importing dynamically is no longer working.

Reproduction

Watch the video on #1509. It will not work anymore for dynamic import after converting to mount

Expected behaviour

The component usage would still be located as before

System Info

  • OS: [e.g. Windows]
  • IDE: [e.g. VSCode, Atom]

Which package is the issue about?

No response

Additional Information, eg. Screenshots

No response

@Jojoshua Jojoshua added the bug Something isn't working label Mar 5, 2025
@dummdidumm
Copy link
Member

This is an upstream problem, I opened a TypeScript issue: microsoft/TypeScript#61366

We have to do indirect exports in order to be able to do declaration merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants