Typescript Create Object And Initialize Array Python Vs List