docs: fix Signal type typo (#1304)

This commit is contained in:
Asher Gomez
2023-06-16 10:32:20 +02:00
committed by GitHub
parent 1753ee8620
commit a4f7172807
+1 -1
View File
@@ -14,7 +14,7 @@ island. The file must have a default export that is a regular Preact component.
```tsx
// islands/MyIsland.tsx
import type { Signal } from "@preact/signals";
import { useSignal } from "@preact/signals";
export default function MyIsland() {
const count = useSignal(0);