simpler-state
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -36,6 +36,9 @@ /** | ||
/** Updates the value of the entity */ | ||
set: ( | ||
newValue: T | ((value: T, ...args: any[]) => T), | ||
...updaterArgs: any[] | ||
) => void | ||
set: { | ||
(newValue: T): void | ||
<P extends unknown[]>( | ||
updaterFn: (value: T, ...args: P) => T, | ||
...updaterArgs: P | ||
): void | ||
} | ||
@@ -42,0 +45,0 @@ /** Binds the entity value to component state */ |
{ | ||
"name": "simpler-state", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "The simplest app state management for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
517
25794
18