Skip to content

Commit

Permalink
Mention --ts in the rendering guide too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 6, 2022
1 parent e0c5a20 commit d33b021
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Rendering.md
Expand Up @@ -977,6 +977,12 @@ $ npm create @mojojs/plugin -- mojo-plugin-caching-helpers
$ npm install
```
You can also use the `--ts` flag to generate TypeScript instead of JavaScript code.
```
$ npm create @mojojs/plugin -- --ts mojo-plugin-caching-helpers
```
The generated test file `test/basic.js` uses [tap](https://www.npmjs.com/package/tap) by default and contains enough
integration tests to get you started in no time.
Expand Down

0 comments on commit d33b021

Please sign in to comment.