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