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