UNPKG
angular-interceptors
Version:
latest (3.0.2)
3.0.2
2.1.0
2.0.4
2.0.3
2.0.1
2.0.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Useful interceptors for [Angular](https://github.com/angular/angular)
angular-interceptors
/
cache.module.d.ts
9 lines
(8 loc)
•
273 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
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
; }