Module

x/polkadot/mod.ts>types.createClass

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

Type Parameters

optional
T extends Codec = Codec
optional
K extends string = string

Parameters

registry: Registry
type: K

Returns

CodecClass<DetectCodec<T, K>>