Typescript String Type Vs Interface Typescript Enums In Java