I'm trying to get the length of a string as a number:
type Length = LengthOfString<"hello">
// ^? should be 5
I'm not sure where to begin on this. How can I accomplish this?
(I'm trying to learn more about typescript's type system -- I am not applying this to JS code)