Solutionunvalidated

const courseId = ['a', 'b', 'c'] as const; — type CourseIds = typeof courseId[number];. Tension: Is this that you expected? Outcome: const something: CourseIds = 'a';.

5504a920-9b66-4fc9-b565-c8bced4a5fde

const courseId = ['a', 'b', 'c'] as const; — type CourseIds = typeof courseId[number];. Tension: Is this that you expected? Outcome: const something: CourseIds = 'a';.