Typescript Get Enum Name From Int To String In Haskell