diff --git a/src/Utils/MultiStepInput.ts b/src/Utils/MultiStepInput.ts index 19cf0c85..8497094d 100644 --- a/src/Utils/MultiStepInput.ts +++ b/src/Utils/MultiStepInput.ts @@ -57,12 +57,12 @@ interface InputBoxParameters { /* istanbul ignore next */ class MultiStepInput { - static async run(start: InputStep) { + static async run(start: InputStep) { const input = new MultiStepInput(); return input.stepThrough(start); } - static async runSteps(steps: InputStep[]) { + static async runSteps(steps: InputStep[]) { if (steps.length === 0) { throw new Error('not enough steps'); } @@ -80,7 +80,7 @@ class MultiStepInput { // this variable sets to public. public steps: InputStep[] = []; - private async stepThrough(start: InputStep) { + private async stepThrough(start: InputStep) { let step: InputStep|void = start; while (step) { this.steps.push(step);