fix(router): fix type definition

This commit is contained in:
vsavkin
2016-08-05 08:24:40 -07:00
committed by Alex Rickabaugh
parent 3a307c2794
commit c586656d43
2 changed files with 3 additions and 2 deletions

View File

@ -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.