type alias StructDecoded

The decoded object type of a struct schema: each property's coder Coder<U> contributes a property of type U.

Type Parameters

T extends Record<string, Coder<any>>

Object where keys are property names and values are coders

Definition

[K in keyof T]: T[K] extends Coder<infer U> ? U : never

Usage

import { type StructDecoded } from "mod.ts";