function typeToConstructorimport { typeToConstructor } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts"; typeToConstructor<T extends Codec = Codec>(registry: Registry, type: string | CodecClass<T>): CodecClass<T>Type ParametersoptionalT extends Codec = CodecParametersregistry: Registrytype: string | CodecClass<T>ReturnsCodecClass<T>