UNPKG

ngx-foresight

Version:

<p align="center"> <img src="https://akshykhade.github.io/ngx-foresight/logo.svg" width="305px"> </p> <br/> <p align="center"> <a href="https://www.npmjs.com/package/ngx-foresight"> <img src="https://img.shields.io/npm/v/ngx-foresight.svg?style=fo

13 lines (12 loc) 564 B
import { PreloadingStrategy, Route, Router } from '@angular/router'; import { PrefetchRegistry } from './prefetch-registry.service'; import * as i0 from "@angular/core"; export declare class ForesightjsStrategy implements PreloadingStrategy { private registry; private router; loading: Set<Route>; constructor(registry: PrefetchRegistry, router: Router); preload(route: Route, load: Function): any; static ɵfac: i0.ɵɵFactoryDeclaration<ForesightjsStrategy, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ForesightjsStrategy>; }