@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>
14 lines (11 loc) • 504 B
TypeScript
import * as i0 from '@angular/core';
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>;
}
export { NgDocStoreService };