typescript enumerate object properties