Typescript Dynamic Key Value Javascript Array Splice