Utility Type - 6
→ 문자열 리터럴 유형의 첫 번째 문자를 대문자로 변환
/**
* *Convert first character of string literal type to uppercase*
*/
type Capitalize<S extends string> = intrinsic;
type Product = 'cat' | 'dog';
type NewProduct = Capitalize<Product>; *// 'Cat' | 'Dog'*
위 예제의 Union type 으로 선언된 영문 문자열의 맨 앞글자를 대문자로 변환