function typeToConstructorimport { typeToConstructor } from "https://deno.land/x/polkadot@0.2.14/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>