redux-state-branch
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -48,5 +48,5 @@ interface AnyAction<T = any> { | ||
protected constant: Constants; | ||
protected defaultItem: ItemT; | ||
protected defaultItem: Partial<ItemT>; | ||
protected generateId: () => string; | ||
constructor(constants: Constants, defaultItem: ItemT, generateId: () => string); | ||
constructor(constants: Constants, defaultItem: Partial<ItemT>, generateId: () => string); | ||
replace(items: ItemsT<ItemT>, devToolsSuffix?: string): { | ||
@@ -92,3 +92,3 @@ type: string; | ||
select: SelectorsT; | ||
defaultItem: ItemT; | ||
defaultItem: Partial<ItemT>; | ||
defaultState: BranchStateT; | ||
@@ -98,3 +98,3 @@ protected extendedReducer: any; | ||
name: string; | ||
actions?: new (constants: Constants, defaultItem: ItemT, generateId: () => string) => ActionsT; | ||
actions?: new (constants: Constants, defaultItem: Partial<ItemT>, generateId: () => string) => ActionsT; | ||
selectors?: new (name: string) => SelectorsT; | ||
@@ -101,0 +101,0 @@ constants?: ConstantsT; |
{ | ||
"name": "redux-state-branch", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A redux wrapper for sane people.", |
Sorry, the diff of this file is not supported yet
42842