Description

Transforms every string character to lowercase for string literal types.

Syntax

type UnenthusiasticGreeting<T extends string> = `${Lowercase<T>}`
 
type HELLO = UnenthusiasticGreeting<"HELLO">;
// same as
//   type HELLO = "hello";