You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/kit/src/exports/public.d.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -689,7 +689,7 @@ export type Handle = (input: {
689
689
})=>MaybePromise<Response>;
690
690
691
691
/**
692
-
* The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
692
+
* The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
693
693
*
694
694
* If an unexpected error is thrown during loading or rendering, this function will be called with the error and the event.
695
695
* Make sure that this function _never_ throws an error.
@@ -702,7 +702,7 @@ export type HandleServerError = (input: {
702
702
})=>MaybePromise<void|App.Error>;
703
703
704
704
/**
705
-
* The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
705
+
* The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
706
706
*
707
707
* If an unexpected error is thrown during loading or the following render, this function will be called with the error and the event.
708
708
* Make sure that this function _never_ throws an error.
@@ -715,7 +715,7 @@ export type HandleClientError = (input: {
715
715
})=>MaybePromise<void|App.Error>;
716
716
717
717
/**
718
-
* The [`handleFetch`](https://svelte.dev/docs/kit/hooks#server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
718
+
* The [`handleFetch`](https://svelte.dev/docs/kit/hooks#Server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
Copy file name to clipboardExpand all lines: packages/kit/src/types/ambient.d.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ declare namespace App {
46
46
exportinterfacePageState{}
47
47
48
48
/**
49
-
* If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#platform-specific-context) via `event.platform`, you can specify it here.
49
+
* If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#Platform-specific-context) via `event.platform`, you can specify it here.
* The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
674
+
* The server-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while responding to a request.
675
675
*
676
676
* If an unexpected error is thrown during loading or rendering, this function will be called with the error and the event.
677
677
* Make sure that this function _never_ throws an error.
* The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
687
+
* The client-side [`handleError`](https://svelte.dev/docs/kit/hooks#Shared-hooks-handleError) hook runs when an unexpected error is thrown while navigating.
688
688
*
689
689
* If an unexpected error is thrown during loading or the following render, this function will be called with the error and the event.
690
690
* Make sure that this function _never_ throws an error.
* The [`handleFetch`](https://svelte.dev/docs/kit/hooks#server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
700
+
* The [`handleFetch`](https://svelte.dev/docs/kit/hooks#Server-hooks-handleFetch) hook allows you to modify (or replace) a `fetch` request that happens inside a `load` function that runs on the server (or during pre-rendering)
701
701
*/
702
702
exporttypeHandleFetch=(input: {
703
703
event: RequestEvent;
@@ -2287,7 +2287,7 @@ declare namespace App {
2287
2287
exportinterfacePageState{}
2288
2288
2289
2289
/**
2290
-
* If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#platform-specific-context) via `event.platform`, you can specify it here.
2290
+
* If your adapter provides [platform-specific context](https://svelte.dev/docs/kit/adapters#Platform-specific-context) via `event.platform`, you can specify it here.
0 commit comments