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