interface ResErr implements Result<T, E>import { type ResErr } from "https://deno.land/x/monads@v0.5.10/result/result.ts"; Type ParametersTEMethodsunwrap(): neverunwrapOr(optb: T): TunwrapOrElse(fn: (err: E) => T): TunwrapErr(): Ematch<U>(fn: Match<never, E, U>): Umap<U>(fn: (val: T) => U): ResErr<never, E>mapErr<U>(fn: (err: E) => U): ResErr<never, U>andThen<U>(fn: (val: T) => Result<U, E>): ResErr<never, E>orElse<U>(fn: (err: E) => Result<U, E>): Result<U, E>