method Result.withRe-exportimport { Result } from "https://deno.land/x/polkadot@0.2.14/types/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>>