ts-type-forge
    Preparing search index...

    Type Alias ValueOf<T>

    ValueOf: T[keyof T]

    Extracts the union of all value types from an object type T.

    Type Parameters

    • T

      The object type.

    type Values = ValueOf<{ a: string; b: number }>; // string | number