Skip to content

Commit de5ce63

Browse files
Sync svelte docs (#1091)
sync svelte docs Co-authored-by: Rich-Harris <1162160+Rich-Harris@users.noreply.github.com>
1 parent a6e93ea commit de5ce63

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/svelte.dev/content/docs/svelte/02-runes/05-$props.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,6 @@ You can, of course, separate the type declaration from the annotation:
197197
</script>
198198
```
199199

200+
> [!NOTE] Interfaces for native DOM elements are provided in the `svelte/elements` module (see [Typing wrapper components](typescript#Typing-wrapper-components))
201+
200202
Adding types is recommended, as it ensures that people using your component can easily discover which props they should provide.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ let { banner }: { banner: Snippet<[{ text: string }]> } = $props();
900900
```
901901
You can only call a snippet through the `{@render ...}` tag.
902902

903-
/docs/svelte/snippet
903+
See the [snippet documentation](/docs/svelte/snippet) for more info.
904904

905905
<div class="ts-block">
906906

apps/svelte.dev/content/docs/svelte/98-reference/21-svelte-compiler.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ import {
2222

2323
The current version, as set in package.json.
2424

25-
/docs/svelte-compiler#svelte-version
26-
2725
<div class="ts-block">
2826

2927
```dts

0 commit comments

Comments
 (0)