The Uncapitalize
utility type converts the first letter of a string to lowercase.
Structure
Uncapitalize<StringType>
Example
type Greeting = "Hello Ahmad";
type UncapitalizeGreeting = Uncapitalize<Greeting>; //hello Ahmad
Published by Muhammad Asfour
Estimated reading time: 1 min
The Uncapitalize
utility type converts the first letter of a string to lowercase.
Uncapitalize<StringType>
type Greeting = "Hello Ahmad";
type UncapitalizeGreeting = Uncapitalize<Greeting>; //hello Ahmad