redux-state-branch
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -123,3 +123,3 @@ interface AnyAction<T = any> { | ||
defaultItem: Partial<ItemT>; | ||
reducer: (state: BranchStateT | undefined, _action: AnyAction<any>) => BranchStateT; | ||
reducer: (_state: any, _action: AnyAction<any>) => BranchStateT; | ||
defaultState: BranchStateT; | ||
@@ -126,0 +126,0 @@ action: { |
@@ -141,4 +141,5 @@ "use strict"; | ||
var defaultSelectors = exports.selectors({ name: name }); | ||
var reducer = function (state, _action) { | ||
if (state === void 0) { state = defaultState; } | ||
var reducer = function (_state, _action) { | ||
if (_state === void 0) { _state = defaultState; } | ||
var state = _state; | ||
var action = _action; | ||
@@ -145,0 +146,0 @@ var items = ensureArray(action.items); |
{ | ||
"name": "redux-state-branch", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A redux wrapper for sane people.", |
Sorry, the diff of this file is not supported yet
44372
813