diff --git a/lib/router/transition.ts b/lib/router/transition.ts index 43cd3264..f429f49c 100644 --- a/lib/router/transition.ts +++ b/lib/router/transition.ts @@ -64,6 +64,7 @@ export default class Transition implements Partial> isCausedByInitialTransition = false; isCausedByAbortingReplaceTransition = false; _visibleQueryParams: Dict = {}; + previousTransition: Maybe>; constructor( router: Router, @@ -85,6 +86,7 @@ export default class Transition implements Partial> this.targetName = undefined; this.pivotHandler = undefined; this.sequence = -1; + this.previousTransition = previousTransition; if (error) { this.promise = Promise.reject(error);