Js Loop External Variable Declaration In Typescript Enumerations