diff --git a/modules/@angular/router/src/router.ts b/modules/@angular/router/src/router.ts index c754c550f6..34a76f0ffc 100644 --- a/modules/@angular/router/src/router.ts +++ b/modules/@angular/router/src/router.ts @@ -546,7 +546,7 @@ export class Router { resolvePromise(false); } }, - e => { + (e: any) => { if (e instanceof NavigationCancelingError) { this.navigated = true; this.routerEvents.next(