UNPKG

@larscom/ngrx-store-storagesync

Version:

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

6 lines (5 loc) 277 B
import { IStorageSyncOptions } from './storage-sync-options'; /** * @internal Restores the resolved state from a storage location */ export declare const rehydrateState: <T>({ storage, storageKeySerializer, features, storageError }: IStorageSyncOptions<T>) => T | undefined;