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