method types.TypeRegistry.prototype.getOrUnknownimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { TypeRegistry } = types; getOrUnknown<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>