Description

Transforms the first string character to lowercase for string literal types.

Syntax

type UncapitalizedGreeting<T extends string> = `${Uncapitalize<T>}`
 
type HELLO = CapitalizedGreeting<"Hello">;
// same as
//   type HELLO = "hello";