Skip to main content
Module

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

Package publishing for deno.land/x/polkadot
Go to Latest
method types.Result.with
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.37/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>>