Typescript Enum To Object Array Example