Typescript Create Object And Initialize Vector Cpp