We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
create
1 parent efaf416 commit 929b547Copy full SHA for 929b547
docs/apis/create-store.md
@@ -242,7 +242,7 @@ import { createStore } from 'zustand/vanilla'
242
243
type PositionStore = [number, number]
244
245
-const positionStore = create<PositionStore>()(() => [0, 0])
+const positionStore = createStore<PositionStore>()(() => [0, 0])
246
247
const $dotContainer = document.getElementById('dot-container') as HTMLDivElement
248
const $dot = document.getElementById('dot') as HTMLDivElement
0 commit comments