Type alias RawCodec<SerCtx, DesCtx>

RawCodec<SerCtx, DesCtx>: {
    name: string;
    opts: NominalCodecOpts<SerCtx, DesCtx>;
    tag: "forName";
} | {
    opts: NominalCodecOpts<SerCtx, DesCtx>;
    path: (string | number)[];
    tag: "forPath";
} | {
    opts: TypeCodecOpts<SerCtx, DesCtx>;
    tag: "forType";
    type: string;
} | {
    opts: CustomCodecOpts<SerCtx, DesCtx>;
    tag: "custom";
}

Type Parameters

  • SerCtx = any
  • DesCtx = any

Type declaration

Type declaration

Type declaration

Type declaration