Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/types-codec/bundle.ts>Result.with

Package publishing for deno.land/x/polkadot
Go to Latest
method Result.with
import { Result } from "https://deno.land/x/polkadot@0.2.25/types-codec/bundle.ts";

Type Parameters

O extends Codec
E extends Codec

Parameters

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

Returns

CodecClass<Result<O, E>>