Typescript Find First Occurrence In Array