UNPKG

ngrx-reducer-effects

Version:

Return side-effects as data from your NgRx reducers

17 lines (16 loc) 546 B
import { Action } from '@ngrx/store'; import { Provider } from '@angular/core'; import { EffectConfig, ActionReducer } from 'ngrx-reducer-effects'; declare type Config = { providers?: Provider[]; }; export declare function reduceWithEffects<TState>(reducer: ActionReducer<TState>, actions: Action[], config?: Config): Promise<TState>; export declare const testing: {}; declare global { namespace jest { interface Matchers<R> { toHaveEffect(expected: EffectConfig<any>): R; } } } export {};