erecruit TypeScript TranslatorParse type information out of TypeScript files and generate other files (e.g. in another language) based on it. The primary intended use for this tool is generating server-side data transfer objects in strongly typed languages, such as C#. erecruit.TsT uses the Typescript compiler to pull type information from the source TypeScript files, generates a simplified AST in the form of JavaScript data structure (object tree), and then feeds that data structure to the Nunjucks templating engine, which ultimately produces the resulting code. Please see the GitHub project page for more information. |