Skip to main content
Module

x/scale/codecs/mod.ts>OutputTaggedUnion

A TypeScript reference implementation of SCALE transcoding
Go to Latest
type alias OutputTaggedUnion
import { type OutputTaggedUnion } from "https://deno.land/x/scale@v0.13.0/codecs/mod.ts";

Type Parameters

K extends keyof any
M extends Record<number, AnyVariant>
definition: [I in keyof M]: Expand<Record<K, Extract<M[I], AnyVariant>["tag"]> & Output<Extract<M[I], AnyVariant>["codec"]>>[keyof M & number]