The AsyncAPI generator has TypeScript support for hooks and Nunjucks's filters. Assumptions:
- Installing the typescriptpackage and creating thetsconfig.jsonfile isn't necessary.
- Source code of the hook/filter must have .tsextension.
- Each package related to the typings for TypeScript like @types/nodemust be installed in the template underdependenciesarray. This is because the Generator transpiles the TypeScript code on-the-fly while rendering the template, and cannot use packages underdevDependencies.
- Each template should have @types/nodepackage installed to enable support for typings for Node.