mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix merge main (prettier)
This commit is contained in:
parent
e4e0c7f684
commit
a80061bee2
@ -22,7 +22,9 @@ type ReadonlyStoreApi<T> = Pick<
|
||||
>
|
||||
|
||||
const identity = <T>(arg: T): T => arg
|
||||
export function useStore<S extends ReadonlyStoreApi<unknown>>(api: S): ExtractState<S>
|
||||
export function useStore<S extends ReadonlyStoreApi<unknown>>(
|
||||
api: S,
|
||||
): ExtractState<S>
|
||||
|
||||
export function useStore<S extends ReadonlyStoreApi<unknown>, U>(
|
||||
api: S,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user