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