bia-framework
Version:
Bia Framework to work with angular 2
12 lines (11 loc) • 592 B
TypeScript
import { ViewContainerRef, DynamicComponentLoader } from '@angular/core';
import { Router, RouterOutlet, ComponentInstruction } from '@angular/router-deprecated';
import { AuthService } from "./AuthService.service";
export declare class OdisseiaRouter extends RouterOutlet {
private _router;
private authService;
private lastUrl;
private securyRoutes;
constructor(_viewContainerRef: ViewContainerRef, _loader: DynamicComponentLoader, _router: Router, nameAttr: string, authService: AuthService);
activate(instruction: ComponentInstruction): Promise<any>;
}