import { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { typeToConstructor } = typesCodec;
Parameters
type: string | CodecClass<T>
import { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { typeToConstructor } = typesCodec;