Как протолкнуть объект в массив
const places: { city: string; country: string }[] = [];
places.push({ city: 'Nairobi', country: 'Kenya' });
Samuel Abusa Kennedy
const places: { city: string; country: string }[] = [];
places.push({ city: 'Nairobi', country: 'Kenya' });