Remove Array Index Typescript