Skip to content

Commit 43e2623

Browse files
committed
chore: fix types
1 parent 917d71b commit 43e2623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/kit/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,12 +707,12 @@ declare module '@sveltejs/kit' {
707707
}) => MaybePromise<Response>;
708708

709709
/**
710-
* The [`init`](https://svelte.dev/docs/kit/hooks#Shared-hooks-init) will be invoked once as soon as the server is executed.
710+
* The [`init`](https://svelte.dev/docs/kit/hooks#Shared-hooks-init) will be invoked before the server responds to its first request
711711
*/
712712
export type ServerInit = () => MaybePromise<void>;
713713

714714
/**
715-
* The [`init`](https://svelte.dev/docs/kit/hooks#Shared-hooks-init) will be invoked once as the client side app is started.
715+
* The [`init`](https://svelte.dev/docs/kit/hooks#Shared-hooks-init) will be invoked once the app starts in the browser
716716
*/
717717
export type ClientInit = () => MaybePromise<void>;
718718

0 commit comments

Comments
 (0)