Options
All
  • Public
  • Public/Protected
  • All
Menu

Module types

These types can be considered internal

Index

Type aliases

Type aliases

ResultTuple

ResultTuple<T, E>: [T, E]

A result tuple with two indices where the first index is a success result and the second is an error result. These should be mutually exclusive.

Type parameters

  • T = unknown

  • E = unknown

ValueType

ValueType<T>: T extends Result<infer RT> ? RT : T

Extracts the type of the value from a Result type

Type parameters

  • T

Generated using TypeDoc