fix(Router): fix type (#11181)

This commit is contained in:
Victor Berchet 2016-08-30 21:06:38 -07:00 committed by GitHub
parent c74a438f0c
commit 0f68351979
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ export class Router {
resolvePromise(false);
}
},
e => {
(e: any) => {
if (e instanceof NavigationCancelingError) {
this.navigated = true;
this.routerEvents.next(