method TypeRegistry.prototype.createTypeimport { TypeRegistry } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/bundle.ts"; 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>