(
options: RouteOptions<
TRegister,
TParentRoute,
TId,
TCustomId,
TFullPath,
TPath,
TSearchValidator,
TParams,
TLoaderDeps,
TLoaderFn,
AnyContext,
TRouteContextFn,
TBeforeLoadFn,
TSSR,
THandlers
>,
)
| 288 | } |
| 289 | |
| 290 | export function createRoute< |
| 291 | TRegister = unknown, |
| 292 | TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute, |
| 293 | TPath extends RouteConstraints['TPath'] = '/', |
| 294 | TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath< |
| 295 | TParentRoute, |
| 296 | TPath |
| 297 | >, |
| 298 | TCustomId extends RouteConstraints['TCustomId'] = string, |
| 299 | TId extends RouteConstraints['TId'] = ResolveId< |
| 300 | TParentRoute, |
| 301 | TCustomId, |
| 302 | TPath |
| 303 | >, |
| 304 | TSearchValidator = undefined, |
| 305 | TParams = ResolveParams<TPath>, |
| 306 | TRouteContextFn = AnyContext, |
| 307 | TBeforeLoadFn = AnyContext, |
| 308 | TLoaderDeps extends Record<string, any> = {}, |
| 309 | TLoaderFn = undefined, |
| 310 | TChildren = unknown, |
| 311 | TSSR = unknown, |
| 312 | THandlers = undefined, |
| 313 | >( |
| 314 | options: RouteOptions< |
| 315 | TRegister, |
| 316 | TParentRoute, |
| 317 | TId, |
| 318 | TCustomId, |
| 319 | TFullPath, |
| 320 | TPath, |
| 321 | TSearchValidator, |
| 322 | TParams, |
| 323 | TLoaderDeps, |
| 324 | TLoaderFn, |
| 325 | AnyContext, |
| 326 | TRouteContextFn, |
| 327 | TBeforeLoadFn, |
| 328 | TSSR, |
| 329 | THandlers |
| 330 | >, |
| 331 | ): Route< |
| 332 | TRegister, |
| 333 | TParentRoute, |
| 334 | TPath, |
| 335 | TFullPath, |
| 336 | TCustomId, |
| 337 | TId, |
| 338 | TSearchValidator, |
| 339 | TParams, |
| 340 | AnyContext, |
| 341 | TRouteContextFn, |
| 342 | TBeforeLoadFn, |
| 343 | TLoaderDeps, |
| 344 | TLoaderFn, |
| 345 | TChildren, |
| 346 | unknown, |
| 347 | TSSR, |
no outgoing calls