if (savedPosition) {
return savedPosition
} else {
- // TODO: check if parent in common that works with alias
if (to.matched.every((record, i) => from.matched[i] !== record))
return { left: 0, top: 0 }
}
}
return resolvedValue
})
- // TODO: test me!
} else if (guardReturn !== undefined) {
// @ts-expect-error: _called is added at canOnlyBeCalledOnce
if (!next._called) {
(
to: RouteLocationNormalized,
from: RouteLocationNormalized,
- // TODO: move these types to a different file
failure?: NavigationFailure | void
): any
}