Uppercase for HTTP methods
Choosing the right intrinsic string type to fully uppercase a literal.
Codetypescript
type Method = "get" | "post" | "delete";
// Goal: "GET" | "POST" | "DELETE"
type ScreamingMethod = Capitalize<Method>;
const m: ScreamingMethod = "GET"; // error!
What is the bug in this code?