You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/02-runes/05-$props.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,4 +196,6 @@ You can, of course, separate the type declaration from the annotation:
196
196
</script>
197
197
```
198
198
199
+
> [!NOTE] Interfaces for native DOM elements are provided in the `svelte/elements` module (see [Typing wrapper components](typescript#Typing-wrapper-components))
200
+
199
201
Adding types is recommended, as it ensures that people using your component can easily discover which props they should provide.
0 commit comments