Result<T, X>: Variant<{
    error: X;
    ok: T;
}>

Defines result type as per invocation spec

Type Parameters

  • T = unknown

  • X extends {} = {}

Type declaration

  • error: X
  • ok: T

Generated using TypeDoc