Deriving Types From Values 15 exercises
Problem

Create a Union from an as const Array

Here's an array of programModes wrapped in an as const:


export const programModes = [
"group",
"announcement",
"1on1",
"selfDirected",
"planned1on1",
"plannedSelfDirected",
] as const;

When using typeof and keyof with indexed access type, we can extract all of the v

Loading exercise