16. implement FirstChar<T>

TypeScript

  -通过 / -执行

请实现FirstChar<T>返回头文字type。

type A = FirstChar<'BFE'> // 'B'type B = FirstChar<'dev'> // 'd'type C = FirstChar<''> // never

争取5分钟以内搞定这个问题