Mapping from C++ to TypeScript

to-be-completed