method types.Result.withimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts"; const { Result } = types; 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>>