Code QuizAdvanced

Lowercase for header names

Picking the intrinsic type that lowercases an entire string, not just the first letter.

Codetypescript
type Header = "Content-Type" | "Accept" | "Authorization";

// Goal: "content-type" | "accept" | "authorization"
type NormalizedHeader = Uncapitalize<Header>;

const h: NormalizedHeader = "content-type"; // error!

What is the bug in this code?