declare an empty array in angular 8 code example Example: initialize empty array typescript let temp: Criminal[] = [];