Update dts-gen example with proper command line option

This commit is contained in:
Kyle Buzby
2017-09-01 13:54:42 -05:00
committed by GitHub
parent 10f72f108f
commit 836e57e765
+1 -1
View File
@@ -119,7 +119,7 @@ Your package should have this structure:
| tsconfig.json | This allows you to run `tsc` within the package. |
| tslint.json | Enables linting. |
Generate these by running `npm install -g dts-gen` and `dts-gen --dt --name my-package-name --template module`.
Generate these by running `npm install -g dts-gen` and `dts-gen --dt --name my-package-name --module module`.
See all options at [dts-gen](https://github.com/Microsoft/dts-gen).
You may edit the `tsconfig.json` to add new files, to add `"target": "es6"` (needed for async functions), to add to `"lib"`, or to add the `"jsx"` compiler option.