mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Fixed Answers definition and minor spelling fixes. (#12082)
The typing change for Answers relates to https://github.com/SBoudrias/Inquirer.js/issues/398.
This commit is contained in:
committed by
Masahiro Wakame
parent
39b215bda1
commit
f4f30b202a
@@ -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"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user