mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-14 05:10:09 +08:00
Fixes typo so that input and output are both options in createPromptModule
This commit is contained in:
2
types/inquirer/index.d.ts
vendored
2
types/inquirer/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user