Capitalize<S>

A built-in string utility type that turns the first letter of a string literal type into a capital, so "email" becomes "Email".

In more detail

Used inside template literal types, it builds names such as onEmailChange or getId from property keys. Uppercase and Lowercase change every letter.

Related terms

Taught in

References