Typescript Array Get Index Of Object