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