LazyRouteFunction
react-router

LazyRouteFunction interface

LazyRouteFunction(): Promise<Exclude<{ [K in string | number | symbol]: K ? Exclude<keyof R, ImmutableRouteKey> : never }[Exclude<keyof R, ImmutableRouteKey>], undefined>>

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

Docs and examples CC 4.0