Skip to content

Commit f9280b8

Browse files
committed
lint
1 parent 3519300 commit f9280b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commander.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as zsh from './zsh';
22
import * as bash from './bash';
33
import * as fish from './fish';
44
import * as powershell from './powershell';
5-
import type { Command as CommanderCommand } from 'commander';
5+
import type { Command as CommanderCommand, ParseOptions } from 'commander';
66
import t, { RootCommand } from './t';
77
import { assertDoubleDashes } from './shared';
88

@@ -75,7 +75,7 @@ export default function tab(instance: CommanderCommand): RootCommand {
7575

7676
// Override the parse method to handle completion requests before normal parsing
7777
const originalParse = instance.parse.bind(instance);
78-
instance.parse = function (argv?: readonly string[], options?: any) {
78+
instance.parse = function (argv?: readonly string[], options?: ParseOptions) {
7979
const args = argv || process.argv;
8080
const completeIndex = args.findIndex((arg) => arg === 'complete');
8181
const dashDashIndex = args.findIndex((arg) => arg === '--');

0 commit comments

Comments
 (0)