Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.67 KB

File metadata and controls

12 lines (7 loc) · 1.67 KB

Capitalize medium #template-literal

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語 한국어

Implement Capitalize<T> which converts the first letter of a string to uppercase and leave the rest as-is.

For example

type capitalized = Capitalize<'hello world'> // expected to be 'Hello world'

Back Share your Solutions Check out Solutions