Predict the Error · TypeScript

Ch 2 · The Types You Will Use Every Day — card 5 of 5.

Given type Status = "draft" | "sent" | "paid"; what happens when you compile const s: Status = "Draft";?