Interface ResultMatcher<T, E, U>

interface ResultMatcher<T = any, E = any, U = any> {
    Err: (error: E) => U;
    Ok: (value: T) => U;
}

Type Parameters

  • T = any
  • E = any
  • U = any

Properties

Properties

Err: (error: E) => U
Ok: (value: T) => U