Skip to content
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

fix: support function invocation from imported *.svelte components #12061

Merged
merged 1 commit into from
Jun 17, 2024

Commits on Jun 17, 2024

  1. fix: support function invocation from imported *.svelte components

    When the TypeScript plugin we provide isn't enabled, imports to `.svelte`-files fall back to an ambient module declaration. Said declaration was still only providing the deprecated class. This PR widens the type so that you can also invoke it like a function. After the transition period (Svelte 6 or 7) only the new type should be provided from the module declaration.
    dummdidumm committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    634e308 View commit details
    Browse the repository at this point in the history