diff --git a/documentation/docs/07-misc/03-typescript.md b/documentation/docs/07-misc/03-typescript.md index 2298b764e7..7e7bc98665 100644 --- a/documentation/docs/07-misc/03-typescript.md +++ b/documentation/docs/07-misc/03-typescript.md @@ -170,7 +170,7 @@ Using it together with `` to restrict what kinds of component interface Props { // only components that have at most the "prop" // property required can be passed - component: Component<{ prop: string }> + component: Component<{ prop: string }>; } let { component }: Props = $props();