TrpcTransformerType
Serializes the input and deserializes the output, for example
superjson
.
It has to match the
transformer
passed to
initTRPC.create()
on the server.
Import
import { TrpcTransformerType } from "@hyper-fetch/trpc"
Source
Package
Preview
type TrpcTransformerType = {
deserialize: (value: any) => any;
serialize: (value: any) => any;
}
Structure
TrpcTransformerType
| Name | Type | Description |
|---|---|---|
| deserialize | | |
| serialize | |

