Skip to content

Commit eb3fd37

Browse files
committed
Fixes incorrect args typings
1 parent 9053797 commit eb3fd37

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/commands/quickWizard.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export class QuickWizardCommand extends QuickWizardCommandBase {
1414
super(container, [Commands.ShowLaunchpad]);
1515
}
1616

17-
protected override preExecute(context: CommandContext, args?: QuickWizardCommandArgsWithCompletion) {
17+
protected override preExecute(
18+
context: CommandContext,
19+
args?: QuickWizardCommandArgsWithCompletion<QuickWizardCommandArgs>,
20+
) {
1821
switch (context.command) {
1922
case Commands.ShowLaunchpad:
2023
return this.execute({ command: 'launchpad', ...args });

src/commands/remoteProviders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class DisconnectRemoteProviderCommand extends Command {
134134
super(Commands.DisconnectRemoteProvider);
135135
}
136136

137-
protected override preExecute(context: CommandContext, args?: ConnectRemoteProviderCommandArgs) {
137+
protected override preExecute(context: CommandContext, args?: DisconnectRemoteProviderCommandArgs) {
138138
if (isCommandContextViewNodeHasRemote(context)) {
139139
args = { ...args, remote: context.node.remote.name, repoPath: context.node.remote.repoPath };
140140
}

0 commit comments

Comments
 (0)