OrpcSchema
Maps the type of an oRPC router to the schema understood by
createSdk
.
It takes the router, or the client type, like
ContractRouterClient<typeof contract>
for contract-first APIs.
Import
import { OrpcSchema } from "@hyper-fetch/orpc"
Source
Package
Preview
type OrpcSchema<Router> = OrpcClientSchema<OrpcRouterClient<Router>, >;

