fix(router): fix type definition
This commit is contained in:
parent
3a307c2794
commit
c586656d43
@ -115,7 +115,8 @@ export class RoutesRecognized {
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export type Event = NavigationStart | NavigationEnd | NavigationCancel | NavigationError;
|
||||
export type Event =
|
||||
NavigationStart | NavigationEnd | NavigationCancel | NavigationError | RoutesRecognized;
|
||||
|
||||
/**
|
||||
* The `Router` is responsible for mapping URLs to components.
|
||||
|
2
tools/public_api_guard/router/index.d.ts
vendored
2
tools/public_api_guard/router/index.d.ts
vendored
@ -65,7 +65,7 @@ export declare class DefaultUrlSerializer implements UrlSerializer {
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare type Event = NavigationStart | NavigationEnd | NavigationCancel | NavigationError;
|
||||
export declare type Event = NavigationStart | NavigationEnd | NavigationCancel | NavigationError | RoutesRecognized;
|
||||
|
||||
/** @experimental */
|
||||
export interface ExtraOptions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user