File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/create-svelte/templates/default/src/routes/sverdle Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' create-svelte ' : patch
3
+ ---
4
+
5
+ chore: use satisfies keyword in jsdocs, in create-svelte default template
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { fail } from '@sveltejs/kit';
2
2
import { Game } from './game' ;
3
3
import type { PageServerLoad , Actions } from './$types' ;
4
4
5
- /** @type {import('./$types').PageServerLoad } */
5
+ /** @satisfies {import('./$types').PageServerLoad } */
6
6
export const load = ( ( { cookies } ) => {
7
7
const game = new Game ( cookies . get ( 'sverdle' ) ) ;
8
8
@@ -25,7 +25,7 @@ export const load = (({ cookies }) => {
25
25
} ;
26
26
} ) satisfies PageServerLoad ;
27
27
28
- /** @type {import('./$types').Actions } */
28
+ /** @satisfies {import('./$types').Actions } */
29
29
export const actions = {
30
30
/**
31
31
* Modify game state in reaction to a keypress. If client-side JavaScript
You can’t perform that action at this time.
0 commit comments