diff --git a/inquirer/inquirer-tests.ts b/inquirer/inquirer-tests.ts index dd770e2367..99fda73d3f 100644 --- a/inquirer/inquirer-tests.ts +++ b/inquirer/inquirer-tests.ts @@ -58,7 +58,7 @@ inquirer.prompt([ choices: [ new inquirer.Separator("The usual:"), { - name: "Peperonni" + name: "Pepperoni" }, { name: "Cheese", @@ -203,7 +203,7 @@ inquirer.prompt([ "Make a reservation", new inquirer.Separator(), "Ask opening hours", - "Talk to the receptionnist" + "Talk to the receptionist" ] }, { @@ -357,8 +357,8 @@ var questions2 = [ choices: [ { key: "p", - name: "Peperonni and chesse", - value: "PeperonniChesse" + name: "Pepperoni and cheese", + value: "PepperoniCheese" }, { key: "a", @@ -421,7 +421,7 @@ inquirer.prompt([ "Make a reservation", new inquirer.Separator(), "Ask opening hours", - "Talk to the receptionnist" + "Talk to the receptionist" ] }, { diff --git a/inquirer/inquirer.d.ts b/inquirer/inquirer.d.ts index aef3ae8fcc..032740b31c 100644 --- a/inquirer/inquirer.d.ts +++ b/inquirer/inquirer.d.ts @@ -112,7 +112,7 @@ declare module "inquirer" { * A key/value hash containing the client answers in each prompt. */ interface Answers { - [key: string]: string|boolean; + [key: string]: any; } namespace ui {