atomic-state
Advanced tools
Comparing version 2.3.5 to 2.3.6
@@ -149,3 +149,3 @@ /// <reference types="node" /> | ||
export declare function createAtomicHook<R, A = any>(config?: Partial<Atom<R, A>>): { | ||
(): readonly [Partial<R>, ActionsObjectType<{ | ||
(): readonly [R, ActionsObjectType<{ | ||
setPartialvalue: Partial<R> | ((v: Required<R>) => Partial<R>); | ||
@@ -155,3 +155,3 @@ setValue: R | ((v: Required<R>) => R); | ||
}>]; | ||
atom: Atom<Partial<R>, { | ||
atom: Atom<R, { | ||
setPartialvalue: Partial<R> | ((v: Required<R>) => Partial<R>); | ||
@@ -158,0 +158,0 @@ setValue: R | ((v: Required<R>) => R); |
{ | ||
"name": "atomic-state", | ||
"version": "2.3.5", | ||
"version": "2.3.6", | ||
"description": "Atomic State is a state management library for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
127409