Looking to derive the numerical length of a string:
type Length = LengthOfString<"hello">
// ^? should equal 5
Feeling a bit lost on how to approach this. Any guidance on how to achieve this?
(Currently diving into typescript's type system for learning purposes -- not intended for JS code)