method TypeRegistry.prototype.getOrThrowimport { TypeRegistry } from "https://dotland.deno.dev/x/polkadot@0.2.23/types/index.ts"; getOrThrow<T extends Codec = Codec, K extends string = string, R = DetectCodec<T, K>>(name: K, msg?: string): CodecClass<R>Type ParametersoptionalT extends Codec = CodecoptionalK extends string = stringoptionalR = DetectCodec<T, K>Parametersname: Koptionalmsg: stringReturnsCodecClass<R>