Skip to main content
Module

x/polkadot/mod.ts>typesCodec.Enum.with

Package publishing for deno.land/x/polkadot
Go to Latest
method typesCodec.Enum.with
import { typesCodec } from "https://deno.land/x/polkadot@0.2.20/mod.ts";
const { Enum } = typesCodec;

Parameters

Types: Record<string, string | CodecClass> | Record<string, number> | string[]

Returns

EnumCodecClass<Enum>