Skip to content

Commit

Permalink
Fix Component typing typo (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine authored Dec 5, 2024
1 parent dea3596 commit 129b94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/configuration/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ bunx tsc --init
```typescript
import { type Component } from "solid-js";

const MyTsComponent(): Component = () => {
const MyTsComponent: Component = () => {
return (
<div>
<h1>This is a TypeScript component</h1>
Expand Down

0 comments on commit 129b94e

Please sign in to comment.