initialize empty array typescript with several items code example Example: initialize empty array typescript let temp: Criminal[] = [];