TrpcSchema
Maps the type of a tRPC router to the schema understood by
createSdk
.
Import
import { TrpcSchema } from "@hyper-fetch/trpc"
Source
Package
Preview
type TrpcSchema<Router> = TrpcRecordSchema<Router, Router[_def][record], >;
Maps the type of a tRPC router to the schema understood by
createSdk
.
import { TrpcSchema } from "@hyper-fetch/trpc"
type TrpcSchema<Router> = TrpcRecordSchema<Router, Router[_def][record], >;