Deriving Types From Values 15 exercises
Problem

Extract a Union of All Values from an Object

We're back with the programModeEnumMap and ProgramModeMap type:


export const programModeEnumMap = {
GROUP: "group",
ANNOUNCEMENT: "announcement",
ONE_ON_ONE: "1on1",
SELF_DIRECTED: "selfDirected",
PLANNED_ONE_ON_ONE: "planned1on1",
PLANNED_SELF_DIRECTED: "plannedSelfDirected",
} a

Loading exercise