lazy() function to load a route definition, which can add non-matching related properties to a route

Type Parameters

  • R extends AgnosticRouteObject
  • Returns Promise<Omit<R, UnsupportedLazyRouteFunctionKey> & Partial<Record<UnsupportedLazyRouteFunctionKey, never>>>