function createClassimport { createClass } from "https://deno.land/x/polkadot@0.2.37/types/create/createClass.ts"; createClass<T extends Codec = Codec, K extends string = string>(registry: Registry, type: K): CodecClass<DetectCodec<T, K>>Type ParametersoptionalT extends Codec = CodecoptionalK extends string = stringParametersregistry: Registrytype: KReturnsCodecClass<DetectCodec<T, K>>