Typescript Create Array In Cpp