Module

x/polkadot/mod.ts>types.Result.with

Package publishing for deno.land/x/polkadot
Go to Latest
method types.Result.with
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { Result } = types;

Type Parameters

O extends Codec
E extends Codec

Parameters

Types: { Ok: CodecClass<O> | string; Err: CodecClass<E> | string; }

Returns

CodecClass<Result<O, E>>