We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
goto
state
Using state as a parameter for goto fails TypeScript validation. The type definition for goto is missing state.
@type {(url: string | URL, opts?: { replaceState?: boolean; noScroll?: boolean; keepFocus?: boolean; invalidateAll?: boolean; }) => Promise<void>}
StackBlitz
In the terminal, run npm run check
npm run check
No response
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.10.5 - /usr/local/bin/pnpm npmPackages: @sveltejs/adapter-auto: ^3.0.0 => 3.0.0 @sveltejs/kit: ^2.0.3 => 2.0.3 @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.0.1 svelte: ^4.2.7 => 4.2.8 vite: ^5.0.3 => 5.0.10
annoyance
The text was updated successfully, but these errors were encountered:
closed as duplicate of #11397
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Using
state
as a parameter forgoto
fails TypeScript validation. The type definition forgoto
is missing state.Reproduction
StackBlitz
In the terminal, run
npm run check
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: