Class Or<T0, T1>

Type for defining a union of two types

Type Parameters

Hierarchy

Constructors

Properties

value0: T0
value1: T1

Accessors

Methods

  • Returns {
        type: string;
        value0: unknown;
        value1: unknown;
    }

    • type: string
    • value0: unknown
    • value1: unknown

Generated using TypeDoc