method Result.withimport { Result } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts"; with<O extends Codec, E extends Codec>(Types: { Ok: CodecClass<O> | string; Err: CodecClass<E> | string; }): CodecClass<Result<O, E>>Type ParametersO extends CodecE extends CodecParametersTypes: { Ok: CodecClass<O> | string; Err: CodecClass<E> | string; }ReturnsCodecClass<Result<O, E>>