UNPKG

angular-interceptors

Version:

Useful interceptors for [Angular](https://github.com/angular/angular)

9 lines (8 loc) 273 B
import { ModuleWithProviders } from '@angular/core'; export { MAX_AGE_MS } from './cache.interceptor'; export declare class CacheInterceptorModule { /** * Cache all HTTP `GET` requests. */ static forRoot(maxAgeMs?: number): ModuleWithProviders; }