Typescript Type Array Object Indexof String