redux-loop
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -88,5 +88,5 @@ import { Action, ActionCreator, AnyAction, StoreEnhancer, Store } from 'redux'; | ||
declare function install<S>(config?: LoopConfig): StoreEnhancer<S>; | ||
export function install<S>(config?: LoopConfig): StoreEnhancer<S>; | ||
declare function loop<S, A extends Action>( | ||
export function loop<S, A extends Action>( | ||
state: S, | ||
@@ -96,3 +96,3 @@ cmd: CmdType<A> | ||
declare namespace Cmd { | ||
export namespace Cmd { | ||
export const dispatch: unique symbol; | ||
@@ -136,7 +136,7 @@ export const getState: unique symbol; | ||
declare function combineReducers<S, A extends Action = AnyAction>( | ||
export function combineReducers<S, A extends Action = AnyAction>( | ||
reducers: ReducerMapObject<S, A> | ||
): LiftedLoopReducer<S, A>; | ||
declare function mergeChildReducers<S, A extends Action = AnyAction>( | ||
export function mergeChildReducers<S, A extends Action = AnyAction>( | ||
parentResult: S | Loop<S, A>, | ||
@@ -147,3 +147,3 @@ action: AnyAction, | ||
declare function reduceReducers<S, A extends Action = AnyAction>( | ||
export function reduceReducers<S, A extends Action = AnyAction>( | ||
initialReducer: LoopReducer<S, A>, | ||
@@ -153,10 +153,10 @@ ...reducers: Array<LoopReducerWithDefinedState<S, A>> | ||
declare function liftState<S, A extends Action>( | ||
export function liftState<S, A extends Action>( | ||
state: S | Loop<S, A> | ||
): Loop<S, A>; | ||
declare function isLoop(test: any): boolean; | ||
export function isLoop(test: any): boolean; | ||
declare function getModel<S>(loop: S | Loop<S, AnyAction>): S; | ||
export function getModel<S>(loop: S | Loop<S, AnyAction>): S; | ||
declare function getCmd<A extends Action>(a: any): CmdType<A> | null; | ||
export function getCmd<A extends Action>(a: any): CmdType<A> | null; |
{ | ||
"name": "redux-loop", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Sequence your effects naturally and purely by returning them from your reducers.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129427