THRIFT-2901
Fix for generated TypeScript functions + indentation of JavaScript maps
TS definition generation for node
TS definitions for thrift node package