fix(router): make the contstructor of the router service public

This commit is contained in:
vsavkin
2016-06-28 16:53:54 -07:00
parent 8c45aebc18
commit 3784696b9e
3 changed files with 4 additions and 8 deletions

View File

@ -114,6 +114,7 @@ export declare class Router {
events: Observable<Event>;
routerState: RouterState;
url: string;
constructor(rootComponentType: Type, resolver: ComponentResolver, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, config: RouterConfig);
createUrlTree(commands: any[], {relativeTo, queryParams, fragment}?: NavigationExtras): UrlTree;
navigate(commands: any[], extras?: NavigationExtras): Promise<boolean>;
navigateByUrl(url: string | UrlTree): Promise<boolean>;