function createClassimport { createClass } from "https://deno.land/x/polkadot@0.2.16/types/create/index.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>>