zustand-computed
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -14,3 +14,3 @@ import { StateCreator, StoreApi, StoreMutatorIdentifier } from "zustand"; | ||
type WithCompute<S, A> = Write<S, StoreCompute<S, A>>; | ||
declare module "zustand" { | ||
declare module "zustand/vanilla" { | ||
interface StoreMutators<S, A> { | ||
@@ -17,0 +17,0 @@ "chrisvander/zustand-computed": WithCompute<Cast<S, object>, A>; |
@@ -14,3 +14,3 @@ import { StateCreator, StoreApi, StoreMutatorIdentifier } from "zustand"; | ||
type WithCompute<S, A> = Write<S, StoreCompute<S, A>>; | ||
declare module "zustand" { | ||
declare module "zustand/vanilla" { | ||
interface StoreMutators<S, A> { | ||
@@ -17,0 +17,0 @@ "chrisvander/zustand-computed": WithCompute<Cast<S, object>, A>; |
{ | ||
"name": "zustand-computed", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "A Zustand middleware to create computed states.", | ||
@@ -5,0 +5,0 @@ "author": "chrisvander", |
16615