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