method types.TypeRegistry.prototype.createClassimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { TypeRegistry } = types; createClass<T extends Codec = Codec, K extends string = string>(type: K): CodecClass<DetectCodec<T, K>>Type ParametersoptionalT extends Codec = CodecoptionalK extends string = stringParameterstype: KReturnsCodecClass<DetectCodec<T, K>>