typescript enumerate over enum