refactor(router): remove unused currentRawUrl property from transition (#48067)

The currentRawUrl property of the transition is no longer used after various refactorings in the code over
the past couple years

PR Close #48067
This commit is contained in:
Andrew Scott
2022-11-15 13:04:35 -08:00
committed by Dylan Hunn
parent 07c9396824
commit 6732618399
-4
View File
@@ -252,7 +252,6 @@ export interface NavigationTransition {
id: number;
targetPageId: number;
currentUrlTree: UrlTree;
currentRawUrl: UrlTree;
extractedUrl: UrlTree;
urlAfterRedirects?: UrlTree;
rawUrl: UrlTree;
@@ -577,7 +576,6 @@ export class Router {
id: 0,
targetPageId: 0,
currentUrlTree: this.currentUrlTree,
currentRawUrl: this.currentUrlTree,
extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),
urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),
rawUrl: this.currentUrlTree,
@@ -1332,7 +1330,6 @@ export class Router {
resolve = priorPromise.resolve;
reject = priorPromise.reject;
promise = priorPromise.promise;
} else {
promise = new Promise<boolean>((res, rej) => {
resolve = res;
@@ -1372,7 +1369,6 @@ export class Router {
source,
restoredState,
currentUrlTree: this.currentUrlTree,
currentRawUrl: this.rawUrlTree,
rawUrl,
extras,
resolve,