Get Index Of Item In Object Array Typescript