Remove Specific Element From Array Typescript Compiler