how to create an array of null objects in typescript code example Example: initialize empty array typescript let temp: Criminal[] = [];