Typescript Enumerate Class Properties Javascript Playground