MCPcopy Create free account
hub / github.com/middleapi/orpc / router

Method router

packages/server/src/implementer.ts:71–71  ·  view source on GitHub ↗

* 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

(
    router: U
  )

Source from the content-addressed store, hash-verified

69 * @see {@link https://orpc.dev/docs/router#extending-router Extending Router Docs}
70 */
71 router<U extends Router<T, TCurrentContext>>(
72 router: U
73 ): EnhancedRouter<U, TInitialContext, TCurrentContext, Record<never, never>>
74

Callers 15

helpers.tsFile · 0.65
builder.test.tsFile · 0.65
builder.test-d.tsFile · 0.65
helpers.tsFile · 0.65
handler.tsFile · 0.65
builder.test.tsFile · 0.65

Implementers 1

Builderpackages/server/src/builder.ts

Calls

no outgoing calls

Tested by

no test coverage detected