Open History to see the last commit
Call Signature#
function createStore<T>(getValue): ReadonlyStore<T>;
Defined in: store.ts:86
Type Parameters#
T#
T
Parameters#
getValue#
(prev?) => T
Returns#
Call Signature#
function createStore<T>(initialValue): Store<T>;
Defined in: store.ts:89
Type Parameters#
T#
T
Parameters#
initialValue#
T
Returns#
Store<T>
Call Signature#
function createStore<T, TActions>(initialValue, actions): Store<T, TActions>;
Defined in: store.ts:90
Type Parameters#
T#
T
TActions#
TActions extends StoreActionMap
Parameters#
initialValue#
NonFunction<T>
actions#
StoreActionsFactory<T, TActions>
Returns#
Store<T, TActions>