Module

x/polkadot/types-codec/index.ts>typeToConstructor

Package publishing for deno.land/x/polkadot
Go to Latest
function typeToConstructor
import { typeToConstructor } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts";

Type Parameters

optional
T extends Codec = Codec

Parameters

registry: Registry
type: string | CodecClass<T>

Returns

CodecClass<T>