Releases: commander-js/extra-typings
Releases · commander-js/extra-typings
v12.1.0
Changed
- use ESLint for linting (#65)
- format source files with Prettier (#66)
Removed
- removed unimplemented
Option.fullDescription
from TypeScript definition (#70)
v12.0.1
Changed
- include implicit
this
in parameters for action handler callback (#59)
v12.0.0-1
Fixed
- use prerelease Commander version for peerDependencies
v11.1.0
Added
Option
properties: envVar
, presetArg
(#48)
Argument
properties: argChoices
, defaultValue
, defaultValueDescription
(#48)
Command
properties: options
, registeredArguments
(#50)
Changed
Fixed
- remove unused
Option.optionFlags
property (#48)
- add that
Command.version()
can also be used as getter (#48)
- add null return type to
Commands.executableDir()
, for when not configured (#48)
- preserve option typings when adding arguments to
Command
(#49)
v10.0.3
Added
- narrow types based on
.choices()
(#29)
Fixed
- improve Option type inferences for certain combinations of configuration (#31)
- mark
.action()
callback as allowing promises (#33)
v10.0.2
Fixed
createOption
passes through description into object constructor. (#25)
v10.0.1
Fixed
- global
createCommand
, createArgument
, and createOption
now pass through arguments into object constructors. (#23)