serializeTrpcInput
The input after the transformer, before it is encoded to JSON.
undefined
means that there is no input to send
Import
import { serializeTrpcInput } from "@hyper-fetch/trpc"
Source
Package
Parameters
serializeTrpcInput(input: unknown, transformer: TrpcTransformerType)
Parameters
| Name | Type | Description |
|---|---|---|
| input | | |
| transformer | |
Returns
unknown

