UNPKG

@ng-doc/app

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

11 lines (10 loc) 479 B
import * as i0 from "@angular/core"; export declare class NgDocStoreService { protected readonly localStorage: Storage; set(key: string, data: string): void; set<T>(key: string, data: T, serialize: (v: T) => string): void; get(key: string): string | null; get<T>(key: string, deserialize: (v: string | null) => T): T; static ɵfac: i0.ɵɵFactoryDeclaration<NgDocStoreService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgDocStoreService>; }