@ngx-toolkit/cache
Version:
Angular cache with Universal support
14 lines (13 loc) • 555 B
TypeScript
import { ModuleWithProviders } from '@angular/core';
import { Cache } from './cache.model';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export declare class CacheModule {
/**
* In root module to provide caches
*/
static forRoot(caches: Cache[]): ModuleWithProviders<CacheModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<CacheModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CacheModule, never, [typeof i1.CommonModule], never>;
static ɵinj: i0.ɵɵInjectorDeclaration<CacheModule>;
}