chore(router): update publicapi
This commit is contained in:
parent
a343a8e1c2
commit
0614c8c99d
31
tools/public_api_guard/router/index.d.ts
vendored
31
tools/public_api_guard/router/index.d.ts
vendored
@ -88,7 +88,10 @@ export declare class NavigationCancel {
|
|||||||
id: number;
|
id: number;
|
||||||
reason: string;
|
reason: string;
|
||||||
url: string;
|
url: string;
|
||||||
constructor(id: number, url: string, reason: string);
|
constructor(
|
||||||
|
id: number,
|
||||||
|
url: string,
|
||||||
|
reason: string);
|
||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,7 +100,10 @@ export declare class NavigationEnd {
|
|||||||
id: number;
|
id: number;
|
||||||
url: string;
|
url: string;
|
||||||
urlAfterRedirects: string;
|
urlAfterRedirects: string;
|
||||||
constructor(id: number, url: string, urlAfterRedirects: string);
|
constructor(
|
||||||
|
id: number,
|
||||||
|
url: string,
|
||||||
|
urlAfterRedirects: string);
|
||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -106,7 +112,10 @@ export declare class NavigationError {
|
|||||||
error: any;
|
error: any;
|
||||||
id: number;
|
id: number;
|
||||||
url: string;
|
url: string;
|
||||||
constructor(id: number, url: string, error: any);
|
constructor(
|
||||||
|
id: number,
|
||||||
|
url: string,
|
||||||
|
error: any);
|
||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,7 +134,9 @@ export interface NavigationExtras {
|
|||||||
export declare class NavigationStart {
|
export declare class NavigationStart {
|
||||||
id: number;
|
id: number;
|
||||||
url: string;
|
url: string;
|
||||||
constructor(id: number, url: string);
|
constructor(
|
||||||
|
id: number,
|
||||||
|
url: string);
|
||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -172,7 +183,7 @@ export declare class Router {
|
|||||||
config: Routes;
|
config: Routes;
|
||||||
errorHandler: ErrorHandler;
|
errorHandler: ErrorHandler;
|
||||||
events: Observable<Event>;
|
events: Observable<Event>;
|
||||||
/** @stable */ navigated: boolean;
|
navigated: boolean;
|
||||||
routerState: RouterState;
|
routerState: RouterState;
|
||||||
url: string;
|
url: string;
|
||||||
constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes);
|
constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes);
|
||||||
@ -287,7 +298,11 @@ export declare class RoutesRecognized {
|
|||||||
state: RouterStateSnapshot;
|
state: RouterStateSnapshot;
|
||||||
url: string;
|
url: string;
|
||||||
urlAfterRedirects: string;
|
urlAfterRedirects: string;
|
||||||
constructor(id: number, url: string, urlAfterRedirects: string, state: RouterStateSnapshot);
|
constructor(
|
||||||
|
id: number,
|
||||||
|
url: string,
|
||||||
|
urlAfterRedirects: string,
|
||||||
|
state: RouterStateSnapshot);
|
||||||
toString(): string;
|
toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,7 +312,9 @@ export declare class UrlSegment {
|
|||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
};
|
};
|
||||||
path: string;
|
path: string;
|
||||||
constructor(path: string, parameters: {
|
constructor(
|
||||||
|
path: string,
|
||||||
|
parameters: {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
});
|
});
|
||||||
toString(): string;
|
toString(): string;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user