UNPKG

@larscom/ngrx-store-storagesync

Version:

Highly configurable state sync library between localStorage/sessionStorage and @ngrx/store (Angular)

6 lines (5 loc) 251 B
import { IStorageSyncOptions } from './storage-sync-options'; /** * @internal Sync state with storage */ export declare const syncWithStorage: <T>(state: T, { features, storage, storageKeySerializer, storageError }: IStorageSyncOptions<T>) => void;