17. implement LastChar<T>

TypeScript

  - accepted / - tried

FirstChar<T>の逆、LastChar<T> も実装してください。

type A = LastChar<'BFE'> // 'E'type B = LastChar<'dev'> // 'v'type C = LastChar<''> // never

5分間以内で解いてみて