From 129b94e2bd231e730042ec1dc4c71e7e1460a499 Mon Sep 17 00:00:00 2001 From: Erik Demaine Date: Thu, 5 Dec 2024 15:54:00 -0500 Subject: [PATCH] Fix Component typing typo (#977) --- src/routes/configuration/typescript.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (

This is a TypeScript component