Skip to content

Commit

Permalink
Simplify typings (#1520)
Browse files Browse the repository at this point in the history
* Simplify typings by removing default export of program

* Switch any to unknown per lint suggestion

* Add typings change to deprecated.md

* Remove stale test which was commented out
  • Loading branch information
shadowspawn committed May 17, 2021
1 parent ca514ae commit ad3f947
Show file tree
Hide file tree
Showing 3 changed files with 682 additions and 670 deletions.
4 changes: 3 additions & 1 deletion docs/deprecated.md
Expand Up @@ -42,7 +42,9 @@ const { Command } = require('commander');
comnst program = new Command()
```

Removed from README in Commander v5. Deprecated from Commander v7.
- Removed from README in Commander v5.
- Deprecated from Commander v7.
- Removed from TypeScript declarations in Commander v8.

## Callback to .help() and .outputHelp()

Expand Down

0 comments on commit ad3f947

Please sign in to comment.