Skip to main content
Module

x/polkadot/mod.ts>types.createClass

Package publishing for deno.land/x/polkadot
Go to Latest
function types.createClass
import { types } from "https://deno.land/x/polkadot@0.2.12/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>>