Skip to content

Commit 71066f4

Browse files
committed
expect-error for possible breaking change
1 parent 5e5eadf commit 71066f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/client/superForm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,7 @@ export function superForm<
12361236
if (shouldRedirect && nav.to) {
12371237
try {
12381238
Tainted.forceRedirection = true;
1239+
//@ts-expect-error Possible SvelteKit breaking change, it worked before.
12391240
await goto(nav.to.url, { ...nav.to.params });
12401241
return;
12411242
} finally {

0 commit comments

Comments
 (0)