how to insert a new element in array of type any in typescript code example Example: how to add an element to a Typescript array your_array.push(the_element);