Module

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

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

Parameters

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

Returns

EnumCodecClass<Enum>