(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>)
| 250 | } |
| 251 | |
| 252 | export function createLazyRoute< |
| 253 | TRouter extends AnyRouter = RegisteredRouter, |
| 254 | TId extends string = string, |
| 255 | TRoute extends AnyRoute = RouteById<TRouter['routeTree'], TId>, |
| 256 | >(id: ConstrainLiteral<TId, RouteIds<TRouter['routeTree']>>) { |
| 257 | return (opts: LazyRouteOptions) => { |
| 258 | return new LazyRoute<TRoute>({ |
| 259 | id: id, |
| 260 | ...opts, |
| 261 | }) |
| 262 | } |
| 263 | } |
| 264 | export function createLazyFileRoute< |
| 265 | TFilePath extends keyof FileRoutesByPath, |
| 266 | TRoute extends FileRoutesByPath[TFilePath]['preLoaderRoute'], |
no outgoing calls
no test coverage detected