diff --git a/src/routes/configuration/typescript.mdx b/src/routes/configuration/typescript.mdx index 5c668f4d8..76d56770c 100644 --- a/src/routes/configuration/typescript.mdx +++ b/src/routes/configuration/typescript.mdx @@ -131,7 +131,7 @@ bunx tsc --init ```typescript import { type Component } from "solid-js"; -const MyTsComponent(): Component = () => { +const MyTsComponent: Component = () => { return (