Closed zewish closed 3 years ago
Allows loading proper TypeScript helper files instead of the usual JavaScript ones. Also added a bit more unit tests to test one of the Template.ts functions.
Template.ts
Example usage:
$ boats -f ./nunjucksHelpers/myTypeScriptHelper.ts -i ./src/index.yml -o ./build/api.yml
Uses ts-node which should be installed as a peer dependency in this case.
ts-node
Allows loading proper TypeScript helper files instead of the usual JavaScript ones. Also added a bit more unit tests to test one of the
Template.ts
functions.Example usage:
Uses
ts-node
which should be installed as a peer dependency in this case.