Skip to content

Commit 129b94e

Browse files
authored
Fix Component typing typo (#977)
1 parent dea3596 commit 129b94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/configuration/typescript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ bunx tsc --init
131131
```typescript
132132
import { type Component } from "solid-js";
133133

134-
const MyTsComponent(): Component = () => {
134+
const MyTsComponent: Component = () => {
135135
return (
136136
<div>
137137
<h1>This is a TypeScript component</h1>

0 commit comments

Comments
 (0)