* Create a lazy router * And applies all of the previously defined options to the specified router. * And enforces the router match the contract. * * @see https://orpc.dev/docs/router#extending-router Extending Router Docs
(
loader: () => Promise<{ default: U }>
)
| 80 | * @see {@link https://orpc.dev/docs/router#extending-router Extending Router Docs} |
| 81 | */ |
| 82 | lazy<U extends Router<T, TCurrentContext>>( |
| 83 | loader: () => Promise<{ default: U }> |
| 84 | ): EnhancedRouter<Lazy<U>, TInitialContext, TCurrentContext, Record<never, never>> |
| 85 | } |
no outgoing calls
no test coverage detected