microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 102 forks source link

Rename arguments: `file` to `output-file` and `expression-file` to `file`. #169

Open aminya opened 3 years ago

aminya commented 3 years ago

If I could, I would have renamed expression-file to file and renamed the current file argument to output-file. The naming of the arguments is inaccurate and confusing.

168 Fixes expression-file so it supports any given file. This means that the expression part is just useless now. Also, the current file argument doesn't imply that it is an output file.