Typescript Create Object And Initialize Vector From Array