Skip to content

Commit c478ec8

Browse files
Sync svelte docs (#940)
sync svelte docs Co-authored-by: Rich-Harris <[email protected]>
1 parent 044c08d commit c478ec8

File tree

1 file changed

+9
-9
lines changed
  • apps/svelte.dev/content/docs/svelte/98-reference

1 file changed

+9
-9
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/20-svelte.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ constructor(options: ComponentConstructorOptions<Properties<Props, Slots>>);
7979

8080
- <span class="tag deprecated">deprecated</span> This constructor only exists when using the `asClassComponent` compatibility helper, which
8181
is a stop-gap solution. Migrate towards using `mount` instead. See
82-
https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes for more info.
82+
[migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info.
8383

8484
</div>
8585

@@ -97,7 +97,7 @@ $destroy(): void;
9797
<div class="ts-block-property-bullets">
9898

9999
- <span class="tag deprecated">deprecated</span> This method only exists when using one of the legacy compatibility helpers, which
100-
is a stop-gap solution. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes
100+
is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
101101
for more info.
102102

103103
</div>
@@ -119,7 +119,7 @@ $on<K extends Extract<keyof Events, string>>(
119119
<div class="ts-block-property-bullets">
120120

121121
- <span class="tag deprecated">deprecated</span> This method only exists when using one of the legacy compatibility helpers, which
122-
is a stop-gap solution. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes
122+
is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
123123
for more info.
124124

125125
</div>
@@ -138,7 +138,7 @@ $set(props: Partial<Props>): void;
138138
<div class="ts-block-property-bullets">
139139

140140
- <span class="tag deprecated">deprecated</span> This method only exists when using one of the legacy compatibility helpers, which
141-
is a stop-gap solution. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes
141+
is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
142142
for more info.
143143

144144
</div>
@@ -174,7 +174,7 @@ class SvelteComponentTyped<
174174

175175
<blockquote class="tag deprecated note">
176176

177-
Use `$effect` instead — see https://svelte.dev/docs/svelte/$effect
177+
Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead
178178

179179
</blockquote>
180180

@@ -198,7 +198,7 @@ function afterUpdate(fn: () => void): void;
198198

199199
<blockquote class="tag deprecated note">
200200

201-
Use `$effect.pre` instead — see https://svelte.dev/docs/svelte/$effect#$effect.pre
201+
Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead
202202

203203
</blockquote>
204204

@@ -222,7 +222,7 @@ function beforeUpdate(fn: () => void): void;
222222

223223
<blockquote class="tag deprecated note">
224224

225-
Use callback props and/or the `$host()` rune instead — see https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events
225+
Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)
226226

227227
</blockquote>
228228

@@ -553,13 +553,13 @@ interface Component<
553553
): {
554554
/**
555555
* @deprecated This method only exists when using one of the legacy compatibility helpers, which
556-
* is a stop-gap solution. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes
556+
* is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
557557
* for more info.
558558
*/
559559
$on?(type: string, callback: (e: any) => void): () => void;
560560
/**
561561
* @deprecated This method only exists when using one of the legacy compatibility helpers, which
562-
* is a stop-gap solution. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes
562+
* is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
563563
* for more info.
564564
*/
565565
$set?(props: Partial<Props>): void;

0 commit comments

Comments
 (0)