by Anthony Fu @antfu
Implement CapitalizeWords<T>
which converts the first letter of each word of a string to uppercase and leaves the rest as-is.
For example
type capitalized = CapitalizeWords<'hello world, my friends'> // expected to be 'Hello World, My Friends'
Color=white" alt="查看解答"/>