Fixes typo so that input and output are both options in createPromptModule

This commit is contained in:
Keith Kelly
2018-06-18 12:22:12 -04:00
parent 9ba0229a92
commit 3177220fa4

View File

@@ -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