Typescript Push Object Into An Array Can Be Used To Replace