Skip to content

Commit cfbf317

Browse files
committed
Upgrade dependencies
1 parent 4e39760 commit cfbf317

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
},
5454
"dependencies": {
5555
"@inquirer/prompts": "^3.2.0",
56-
"commander": "^11.0.0",
57-
"parse-my-command": "^0.2.24"
56+
"commander": "^11.1.0",
57+
"parse-my-command": "^0.2.25"
5858
},
5959
"devDependencies": {
6060
"@trivago/prettier-plugin-sort-imports": "^4.2.0",

src/interactive-command.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ export class InteractiveCommand extends Command {
3636
return new InteractiveOption(flags, description);
3737
}
3838

39-
version(...arguments_: Parameters<Command["version"]>): this {
40-
const returnValue = super.version(...arguments_);
39+
version(): string | undefined;
40+
version(str: string, flags?: string, description?: string): this;
41+
version(...args: Parameters<Command["version"]>): this | string | undefined {
42+
const returnValue = super.version(...args);
4143

4244
const versionOptionName = (this as this & { _versionOptionName?: string })
4345
._versionOptionName;

0 commit comments

Comments
 (0)