Skip to content

Commit d92e8ae

Browse files
committed
fix type reported by bennymi
1 parent 0311c3b commit d92e8ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

documentation/docs/02-runes/05-$props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Adding types is recommended, as it ensures that people using your component can
203203

204204
## `$props.id()`
205205

206-
This rune, added in version 5.20.0, generates an ID that is unique to the current component instance. When hydrating a server-rendered a component, the value will be consistent between server and client.
206+
This rune, added in version 5.20.0, generates an ID that is unique to the current component instance. When hydrating a server-rendered component, the value will be consistent between server and client.
207207

208208
This is useful for linking elements via attributes like `for` and `aria-labelledby`.
209209

packages/svelte/src/ambient.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ declare function $props(): any;
340340

341341
declare namespace $props {
342342
/**
343-
* Generates an ID that is unique to the current component instance. When hydrating a server-rendered a component,
343+
* Generates an ID that is unique to the current component instance. When hydrating a server-rendered component,
344344
* the value will be consistent between server and client.
345345
*
346346
* This is useful for linking elements via attributes like `for` and `aria-labelledby`.

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2996,7 +2996,7 @@ declare function $props(): any;
29962996

29972997
declare namespace $props {
29982998
/**
2999-
* Generates an ID that is unique to the current component instance. When hydrating a server-rendered a component,
2999+
* Generates an ID that is unique to the current component instance. When hydrating a server-rendered component,
30003000
* the value will be consistent between server and client.
30013001
*
30023002
* This is useful for linking elements via attributes like `for` and `aria-labelledby`.

0 commit comments

Comments
 (0)