redux-state-branch
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -36,5 +36,5 @@ export declare const makeType: (prefix: string, suffix?: string | undefined) => string; | ||
} | ||
export declare class Actions<T, C> { | ||
protected constant: ConstantsT<C>; | ||
constructor(constants: ConstantsT<C>); | ||
export declare class Actions<T> { | ||
protected constant: ConstantsT<any>; | ||
constructor(constants: ConstantsT<any>); | ||
replace(items: ItemsT<T>, devToolsSuffix?: string): { | ||
@@ -70,3 +70,3 @@ type: string; | ||
name: string; | ||
actions?: new (constants: ConstantsT<C>) => A | Actions<T, C>; | ||
actions?: new (constants: ConstantsT<C>) => A | Actions<T>; | ||
selectors?: new (name: string) => S | Selectors<T>; | ||
@@ -87,3 +87,3 @@ constants?: C; | ||
util: U; | ||
action: A | Actions<T, C>; | ||
action: A | Actions<T>; | ||
select: S | Selectors<T>; | ||
@@ -90,0 +90,0 @@ defaultItem: { |
@@ -39,5 +39,5 @@ // @flow | ||
} | ||
declare export class Actions<T, C> { | ||
constant: ConstantsT<C>; | ||
constructor(constants: ConstantsT<C>): this; | ||
declare export class Actions<T> { | ||
constant: ConstantsT<any>; | ||
constructor(constants: ConstantsT<any>): this; | ||
replace( | ||
@@ -44,0 +44,0 @@ items: ItemsShapeT<T>, |
{ | ||
"name": "redux-state-branch", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A redux wrapper for sane people.", |
Sorry, the diff of this file is not supported yet
22919