@tapsellorg/angular-material-library
Version:
Angular library for Tapsell
16 lines (15 loc) • 651 B
TypeScript
import { PghIndicatorPersistData } from './indicator.models';
import * as i0 from "@angular/core";
export type PghIndicatorPersistServiceSavedData = {
persistId: string;
expirationDate: Date;
};
export declare class PghIndicatorPersistService {
private localStorageFactory;
constructor();
persist({ persistId, persistDays }: PghIndicatorPersistData): void;
private static getKey;
getPersistData(persistId: string): PghIndicatorPersistServiceSavedData | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<PghIndicatorPersistService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PghIndicatorPersistService>;
}