React Typescript Array Push Php