From 3177220fa4272a8c35ca658c8a250d44eb4ea01d Mon Sep 17 00:00:00 2001 From: Keith Kelly Date: Mon, 18 Jun 2018 12:22:12 -0400 Subject: [PATCH] Fixes typo so that input and output are both options in createPromptModule --- types/inquirer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/inquirer/index.d.ts b/types/inquirer/index.d.ts index 9f23ad21aa..d00c037c71 100644 --- a/types/inquirer/index.d.ts +++ b/types/inquirer/index.d.ts @@ -42,7 +42,7 @@ declare namespace inquirer { * Create a new self-contained prompt module. * @param opt Object specifying input and output streams for the prompt */ - createPromptModule(opt?: OutputStreamOption): PromptModule; + createPromptModule(opt?: StreamOptions): PromptModule; /** * Public CLI helper interface * @param questions Questions settings array