We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
5.0.0-next.102
svelte/compiler
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
Now I'm updating svelte-eslint-parser but I got type errors. sveltejs/svelte-eslint-parser#510
I can not import AST types. (e.g. RegularElement.)
RegularElement
This issue is started after this PR. #11068
The direct cause is export { walk };. https://github.com/sveltejs/svelte/blob/main/packages/svelte/types/index.d.ts#L1766 Removing this will make it work nicely.
export { walk };
import type * as Compiler from "svelte/compiler"; let a: Compiler.SvelteElement;
No response
System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M2 Pro Memory: 104.84 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.12.1 - ~/.nodenv/versions/20.12.1/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.5.2 - ~/.nodenv/versions/20.12.1/bin/npm pnpm: 8.15.7 - ~/.nodenv/versions/20.12.1/bin/pnpm bun: 1.0.3 - ~/.bun/bin/bun Browsers: Chrome: 124.0.6367.61 Edge: 124.0.2478.51 Safari: 17.2.1
blocking an upgrade
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Now I'm updating svelte-eslint-parser but I got type errors.
sveltejs/svelte-eslint-parser#510
I can not import AST types. (e.g.
RegularElement
.)This issue is started after this PR.
#11068
The direct cause is
export { walk };
.https://github.com/sveltejs/svelte/blob/main/packages/svelte/types/index.d.ts#L1766
Removing this will make it work nicely.
Reproduction
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: