Skip to content

Commit 70246e6

Browse files
authored
fix: update broken links in JSDoc (#12960)
* fix: update broken links in JSDoc * bump * I WILL STAB YOU
1 parent 9d0230e commit 70246e6

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.changeset/thick-mails-wonder.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/kit': patch
3+
---
4+
5+
fix: update broken links in JSDoc

packages/kit/src/exports/public.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ export type Handle = (input: {
689689
}) => MaybePromise<Response>;
690690

691691
/**
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.
693693
*
694694
* If an unexpected error is thrown during loading or rendering, this function will be called with the error and the event.
695695
* Make sure that this function _never_ throws an error.
@@ -702,7 +702,7 @@ export type HandleServerError = (input: {
702702
}) => MaybePromise<void | App.Error>;
703703

704704
/**
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.
706706
*
707707
* If an unexpected error is thrown during loading or the following render, this function will be called with the error and the event.
708708
* Make sure that this function _never_ throws an error.
@@ -715,7 +715,7 @@ export type HandleClientError = (input: {
715715
}) => MaybePromise<void | App.Error>;
716716

717717
/**
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)
719719
*/
720720
export type HandleFetch = (input: {
721721
event: RequestEvent;

packages/kit/src/types/ambient.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ declare namespace App {
4646
export interface PageState {}
4747

4848
/**
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.
5050
*/
5151
export interface Platform {}
5252
}

packages/kit/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ declare module '@sveltejs/kit' {
671671
}) => MaybePromise<Response>;
672672

673673
/**
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.
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.
675675
*
676676
* If an unexpected error is thrown during loading or rendering, this function will be called with the error and the event.
677677
* Make sure that this function _never_ throws an error.
@@ -684,7 +684,7 @@ declare module '@sveltejs/kit' {
684684
}) => MaybePromise<void | App.Error>;
685685

686686
/**
687-
* 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.
688688
*
689689
* If an unexpected error is thrown during loading or the following render, this function will be called with the error and the event.
690690
* Make sure that this function _never_ throws an error.
@@ -697,7 +697,7 @@ declare module '@sveltejs/kit' {
697697
}) => MaybePromise<void | App.Error>;
698698

699699
/**
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)
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)
701701
*/
702702
export type HandleFetch = (input: {
703703
event: RequestEvent;
@@ -2287,7 +2287,7 @@ declare namespace App {
22872287
export interface PageState {}
22882288

22892289
/**
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.
22912291
*/
22922292
export interface Platform {}
22932293
}

0 commit comments

Comments
 (0)