Typescript Delete All Items In Array Literal Javascript