Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/mod.ts>types.getTypeClass

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

Type Parameters

optional
T extends Codec = Codec

Parameters

registry: Registry
typeDef: TypeDef

Returns

CodecClass<T>