OrValueOf<T>: T | {
    valueOf: (() => T);
}

Alias for T or an object supporting valueOf: () => T.

Type Parameters

  • T

    The type of the value.