Skip to content

Commit 3b1157c

Browse files
authored
rename invalid -> fail
see sveltejs/kit#8012
1 parent ded298a commit 3b1157c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/typescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"sveltekit+page.server.ts": {
1414
"body": [
15-
"import { error, invalid, redirect } from '@sveltejs/kit'",
15+
"import { error, fail, redirect } from '@sveltejs/kit'",
1616
"import type { PageServerLoad, Actions } from './$$types'",
1717
"",
1818
"export const load: PageServerLoad = async function (${1:event}) {",

0 commit comments

Comments
 (0)