Typescript Add New Object To Array Php W3schools