The signature of a function used as a canLoad guard on a Route.
canLoad
Route
Deprecation warning
Use Route.canMatch and CanMatchFn instead
Route.canMatch
CanMatchFn
type CanLoadFn = (route: Route, segments: UrlSegment[]) => MaybeAsync<GuardResult>