From 17aba7c4c018cbfb1d7f143af487e88f554e4d7d Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Wed, 16 Nov 2022 14:59:51 -0800 Subject: [PATCH] refactor(router): remove malformedUriHandler from interface passed to transitions (#48202) The malformedUriHandler is not used during the navigation transition and can be removed form the interface PR Close #48202 --- packages/router/src/navigation_transition.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/router/src/navigation_transition.ts b/packages/router/src/navigation_transition.ts index e5677366d90..860889e1063 100644 --- a/packages/router/src/navigation_transition.ts +++ b/packages/router/src/navigation_transition.ts @@ -272,7 +272,6 @@ interface InternalRouterInterface { ngModule: NgModuleRef; readonly routerState: RouterState; errorHandler: ErrorHandler; - malformedUriErrorHandler: (error: URIError, urlSerializer: UrlSerializer, url: string) => UrlTree; navigated: boolean; afterPreactivation: () => Observable; urlHandlingStrategy: UrlHandlingStrategy;