File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export default class Transition<R extends Route> implements Partial<Promise<R>>
5353 from : Maybe < RouteInfoWithAttributes > = null ;
5454 to ?: RouteInfo | RouteInfoWithAttributes = undefined ;
5555 router : Router < R > ;
56- data : Dict < unknown > ;
56+ data : Dict < any > ;
5757 intent : Maybe < OpaqueIntent > ;
5858 resolvedModels : Dict < ModelFor < R > | undefined > ;
5959 [ QUERY_PARAMS_SYMBOL ] : Dict < unknown > ;
@@ -151,13 +151,13 @@ export default class Transition<R extends Route> implements Partial<Promise<R>>
151151 this . isCausedByAbortingTransition = Boolean ( previousTransition ) ;
152152 this . isCausedByInitialTransition =
153153 Boolean ( previousTransition ) &&
154- ( previousTransition . isCausedByInitialTransition || previousTransition . sequence === 0 ) ;
154+ ( previousTransition ! . isCausedByInitialTransition || previousTransition ! . sequence === 0 ) ;
155155 // Every transition in the chain is a replace
156156 this . isCausedByAbortingReplaceTransition =
157157 Boolean ( previousTransition ) &&
158- previousTransition . urlMethod === 'replace' &&
159- ( ! previousTransition . isCausedByAbortingTransition ||
160- previousTransition . isCausedByAbortingReplaceTransition ) ;
158+ previousTransition ! . urlMethod === 'replace' &&
159+ ( ! previousTransition ! . isCausedByAbortingTransition ||
160+ previousTransition ! . isCausedByAbortingReplaceTransition ) ;
161161
162162 if ( state ) {
163163 this [ PARAMS_SYMBOL ] = state . params ;
You can’t perform that action at this time.
0 commit comments