Skip to content

Conversation

@danielrentz
Copy link
Contributor

Problem

No problem, just a subtlety in the typings. The deprecated versions of help and outputHelp should not include the parameter-less version to make it entirely clear that only the callback variant itself is deprecated.

Solution

Remove optional marker from the deprecated signatures.

ChangeLog

@shadowspawn shadowspawn changed the base branch from master to develop September 26, 2025 00:13
Copy link
Collaborator

@shadowspawn shadowspawn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearer for readers. LGTM.

@shadowspawn
Copy link
Collaborator

Would you like to make the same change in https://github.com/commander-js/extra-typings ?

Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@shadowspawn shadowspawn added the pending release Merged into a branch for a future release, but not released yet label Sep 26, 2025
@shadowspawn shadowspawn merged commit 1a6dba5 into tj:develop Sep 26, 2025
11 checks passed
@danielrentz
Copy link
Contributor Author

danielrentz commented Sep 26, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending release Merged into a branch for a future release, but not released yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants