From aa66f703d2bc2447ff6eb6384259e579729bd253 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Mon, 28 Nov 2022 16:30:33 -0800 Subject: [PATCH] Revert "refactor(router): remove malformedUriHandler from interface passed to transitions (#48202)" (#48269) This reverts commit 17aba7c4c018cbfb1d7f143af487e88f554e4d7d. PR Close #48269 --- packages/router/src/navigation_transition.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/router/src/navigation_transition.ts b/packages/router/src/navigation_transition.ts index 860889e1063..e5677366d90 100644 --- a/packages/router/src/navigation_transition.ts +++ b/packages/router/src/navigation_transition.ts @@ -272,6 +272,7 @@ interface InternalRouterInterface { ngModule: NgModuleRef; readonly routerState: RouterState; errorHandler: ErrorHandler; + malformedUriErrorHandler: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree; navigated: boolean; afterPreactivation: () => Observable; urlHandlingStrategy: UrlHandlingStrategy;