UNPKG

ionic-coreo

Version:

Ionic2 module for integration with Coreo

18 lines (17 loc) 595 B
import { Actions } from '@ngrx/effects'; import { Action } from '@ngrx/store'; import { Observable } from 'rxjs/Observable'; export declare const StorageSyncActions: { HYDRATED: string; }; export declare class CoreoStorageSyncEffects { private actions$; constructor(actions$: Actions); hydrate$: Observable<Action>; } export interface CoreoStorageSyncOptions { keys?: string[]; ignoreActions?: string[]; hydratedStateKey?: string; } export declare function coreoStorageSync(options?: CoreoStorageSyncOptions): (reducer: Function) => (state: any, action: any) => any;