Typescript Create Object And Initialize Array Java