method types.TypeRegistry.prototype.createTypeimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { TypeRegistry } = types; createType<T extends Codec = Codec, K extends string = string>(type: K, ...params: unknown[]): DetectCodec<T, K>Type ParametersoptionalT extends Codec = CodecoptionalK extends string = stringParameterstype: K...params: unknown[]ReturnsDetectCodec<T, K>