Skip to main content
Module

x/polkadot/mod.ts>typesCodec.typesToConstructors

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

Type Parameters

optional
T extends Codec = Codec

Parameters

registry: Registry
types: (string | CodecClass<T>)[]

Returns

CodecClass<T>[]