Skip to content

minor change in index.d.ts - #2427

Merged
shadowspawn merged 1 commit into
tj:developfrom
danielrentz:patch-1
Sep 26, 2025
Merged

shadowspawn merged 1 commit into
tj:developfrom
danielrentz:patch-1

Conversation

@danielrentz

Copy link
Copy Markdown
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

@shadowspawn shadowspawn left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

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

@abetomo abetomo left a comment

Copy link
Copy Markdown
Collaborator

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
@danielrentz

danielrentz commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor Author

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

@shadowspawn commander-js/extra-typings#127

@shadowspawn shadowspawn removed the pending release Merged into a branch for a future release, but not released yet label Jan 31, 2026
@shadowspawn

Copy link
Copy Markdown
Collaborator

Related in v14.0.3

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants