Skip to content

Commit 24c57bd

Browse files
authored
Fix typo in a type declaration of MultiStepInput module (#21156)
1 parent 68fc3b1 commit 24c57bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/common/utils/multiStepInput.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ interface InputBoxParameters {
7676
validate(value: string): Promise<string | undefined>;
7777
}
7878

79-
type MultiStepInputQuickPicResponseType<T, P> = T | (P extends { buttons: (infer I)[] } ? I : never) | undefined;
79+
type MultiStepInputQuickPickResponseType<T, P> = T | (P extends { buttons: (infer I)[] } ? I : never) | undefined;
8080
type MultiStepInputInputBoxResponseType<P> = string | (P extends { buttons: (infer I)[] } ? I : never) | undefined;
8181
export interface IMultiStepInput<S> {
8282
run(start: InputStep<S>, state: S): Promise<void>;
@@ -88,7 +88,7 @@ export interface IMultiStepInput<S> {
8888
activeItem,
8989
placeholder,
9090
customButtonSetups,
91-
}: P): Promise<MultiStepInputQuickPicResponseType<T, P>>;
91+
}: P): Promise<MultiStepInputQuickPickResponseType<T, P>>;
9292
showInputBox<P extends InputBoxParameters>({
9393
title,
9494
step,
@@ -126,7 +126,7 @@ export class MultiStepInput<S> implements IMultiStepInput<S> {
126126
keepScrollPosition,
127127
sortByLabel,
128128
initialize,
129-
}: P): Promise<MultiStepInputQuickPicResponseType<T, P>> {
129+
}: P): Promise<MultiStepInputQuickPickResponseType<T, P>> {
130130
const disposables: Disposable[] = [];
131131
const input = this.shell.createQuickPick<T>();
132132
input.title = title;

0 commit comments

Comments
 (0)