diff --git a/modules/@angular/router/src/router.ts b/modules/@angular/router/src/router.ts index 7163dbfb9c..a86023ad98 100644 --- a/modules/@angular/router/src/router.ts +++ b/modules/@angular/router/src/router.ts @@ -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. diff --git a/tools/public_api_guard/router/index.d.ts b/tools/public_api_guard/router/index.d.ts index f9aa9ac457..5f169da782 100644 --- a/tools/public_api_guard/router/index.d.ts +++ b/tools/public_api_guard/router/index.d.ts @@ -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 {