Skip to content

Commit 0647418

Browse files
authored
Update 03-typescript.md
1 parent 6601b3d commit 0647418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/07-misc/03-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ In case you're writing a component that wraps a native element, you may want to
142142
</script>
143143
144144
<button {...rest}>
145-
{@render children()}
145+
{@render children?.()}
146146
</button>
147147
```
148148

0 commit comments

Comments
 (0)