Skip to content

Commit e5a9417

Browse files
committed
regenerate types
1 parent dd20b07 commit e5a9417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ declare module 'svelte' {
354354
*
355355
* If a function is returned _synchronously_ from `onMount`, it will be called when the component is unmounted.
356356
*
357-
* `onMount` does not run inside a [server-side component](https://svelte.dev/docs#run-time-server-side-component-api).
357+
* `onMount` does not run inside [server-side components](https://svelte.dev/docs/svelte/svelte-server#render).
358358
*
359359
* */
360360
export function onMount<T>(fn: () => NotFunction<T> | Promise<NotFunction<T>> | (() => any)): void;
@@ -367,7 +367,7 @@ declare module 'svelte' {
367367
* */
368368
export function onDestroy(fn: () => any): void;
369369
/**
370-
* Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs#template-syntax-component-directives-on-eventname).
370+
* Creates an event dispatcher that can be used to dispatch [component events](https://svelte.dev/docs/svelte/legacy-on#Component-events).
371371
* Event dispatchers are functions that can take two arguments: `name` and `detail`.
372372
*
373373
* Component events created with `createEventDispatcher` create a

0 commit comments

Comments
 (0)