@alextheman/utility - v4.3.5
    Preparing search index...

    Type Alias CreateEnumType<ObjectType>

    CreateEnumType: ObjectType[keyof ObjectType]

    Get the value types from a const object so the object can behave similarly to an enum.

    Type Parameters

    • ObjectType extends Record<RecordKey, unknown>

      The type of the object to get the value types for.