From 0614c8c99d6680c3db3fac012ed45ff5c49b5a59 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Mon, 12 Sep 2016 10:02:48 -0700 Subject: [PATCH] chore(router): update publicapi --- tools/public_api_guard/router/index.d.ts | 31 ++++++++++++++++++------ 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/tools/public_api_guard/router/index.d.ts b/tools/public_api_guard/router/index.d.ts index d3f7d122e0..21bf0e3e96 100644 --- a/tools/public_api_guard/router/index.d.ts +++ b/tools/public_api_guard/router/index.d.ts @@ -88,7 +88,10 @@ export declare class NavigationCancel { id: number; reason: string; url: string; - constructor(id: number, url: string, reason: string); + constructor( + id: number, + url: string, + reason: string); toString(): string; } @@ -97,7 +100,10 @@ export declare class NavigationEnd { id: number; url: string; urlAfterRedirects: string; - constructor(id: number, url: string, urlAfterRedirects: string); + constructor( + id: number, + url: string, + urlAfterRedirects: string); toString(): string; } @@ -106,7 +112,10 @@ export declare class NavigationError { error: any; id: number; url: string; - constructor(id: number, url: string, error: any); + constructor( + id: number, + url: string, + error: any); toString(): string; } @@ -125,7 +134,9 @@ export interface NavigationExtras { export declare class NavigationStart { id: number; url: string; - constructor(id: number, url: string); + constructor( + id: number, + url: string); toString(): string; } @@ -172,7 +183,7 @@ export declare class Router { config: Routes; errorHandler: ErrorHandler; events: Observable; - /** @stable */ navigated: boolean; + navigated: boolean; routerState: RouterState; url: string; constructor(rootComponentType: Type, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes); @@ -287,7 +298,11 @@ export declare class RoutesRecognized { state: RouterStateSnapshot; url: string; urlAfterRedirects: string; - constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot); + constructor( + id: number, + url: string, + urlAfterRedirects: string, + state: RouterStateSnapshot); toString(): string; } @@ -297,7 +312,9 @@ export declare class UrlSegment { [key: string]: string; }; path: string; - constructor(path: string, parameters: { + constructor( + path: string, + parameters: { [key: string]: string; }); toString(): string;