How to convert the first letter of a string literal type into a lowercase format or uncapitalize in TypeScript?
Originally Published Here ๐!
To convert the first letter of string literal type into a lowercase format or uncapitalize, you can use the built-in Uncapitalize type that comes with TypeScript.
TL;DR
// string literal type
type Greeting = "HELLO WORLD...
melvingeorge-me.hashnode.dev1 min read