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.
|
||||
|
|
|
@ -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…
Reference in New Issue