Type Challenges Judge
Problems
Progress
Ranking
Capitalize Words
Implement CapitalizeWords<T> which converts the first letter of each word of a string to uppercase and leaves the rest as-is.
CapitalizeWords<T>
For example
type capitalized = CapitalizeWords<'hello world, my friends'> // expected to be 'Hello World, My Friends'