typescript return empty array of type code example Example: initialize empty array typescript let temp: Criminal[] = [];