Typescript Enumerate Class Properties Must Be Methods