pass empty array to constructor angular typescript code example Example: initialize empty array typescript let temp: Criminal[] = [];