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.
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
After #13684 I get Failed to statically analyse when I have additional function with generics:
Failed to statically analyse
// import {} from './config' const loadDataWithGeneric = async <T>() => {}; export const load = () => {};
Comment is needed as well, to trigger it.
Reproduction
SyntaxError: Failed to statically analyse src/routes/(app)/+layout.ts. Unexpected token (3:40) ... acorn/dist/acorn.mjs:596:15) { pos: 70, loc: Position { line: 3, column: 40 }, raisedAt: 72 }
npmPackages: @sveltejs/adapter-static: ^3.0.8 => 3.0.8 @sveltejs/kit: ^2.21.1 => 2.21.1 @sveltejs/vite-plugin-svelte: 5.0.3 => 5.0.3 rolldown-vite: 6.3.10 svelte: ^5.31.1 => 5.31.1
blocking an upgrade
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
After #13684 I get
Failed to statically analyse
when I have additional function with generics:Comment is needed as well, to trigger it.
Reproduction
Reproduction
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: