@js-sugar/angular
Version:
JS-Sugar core package (Angular)
16 lines (15 loc) • 643 B
TypeScript
import { OnDestroy } from '@angular/core';
import { Router } from '@angular/router';
import { RouterNavigationEvent } from './types';
import * as i0 from "@angular/core";
export declare class RouterService implements OnDestroy {
private _router;
private readonly _navigateSubject;
private readonly _subscription;
readonly navigation: import("rxjs").Observable<RouterNavigationEvent>;
constructor(_router: Router);
private _createNavigationEvent;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RouterService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<RouterService>;
}