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.
1 parent c99bbcd commit 34bf82bCopy full SHA for 34bf82b
1 file changed
src/react.ts
@@ -24,17 +24,6 @@ const isSSR =
24
25
const useIsomorphicLayoutEffect = isSSR ? useEffect : useLayoutEffect
26
27
-/**
28
- * @deprecated Please use UseBoundStore instead
29
- */
30
-export type UseStore<
31
- T extends State,
32
- CustomStoreApi extends StoreApi<T> = StoreApi<T>
33
-> = {
34
- (): T
35
- <U>(selector: StateSelector<T, U>, equalityFn?: EqualityChecker<U>): U
36
-} & CustomStoreApi
37
-
38
export type UseBoundStore<
39
T extends State,
40
CustomStoreApi extends StoreApi<T> = StoreApi<T>
0 commit comments