@types/inquirer
Advanced tools
Comparing version 0.0.41 to 0.0.42
@@ -10,2 +10,3 @@ // Type definitions for Inquirer.js | ||
// Justin Rockwood <https://github.com/jrockwood> | ||
// Keith Kelly <https://github.com/kwkelly> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -25,2 +26,9 @@ | ||
| Rx.Observable<Question<T>>; | ||
interface OutputStreamOption { | ||
output: NodeJS.WriteStream | ||
} | ||
interface InputStreamOption { | ||
input: NodeJS.ReadStream | ||
} | ||
type StreamOptions = InputStreamOption | OutputStreamOption | (InputStreamOption & OutputStreamOption); | ||
@@ -37,4 +45,5 @@ interface Inquirer { | ||
* Create a new self-contained prompt module. | ||
* @param opt Object specifying input and output streams for the prompt | ||
*/ | ||
createPromptModule(): PromptModule; | ||
createPromptModule(opt?: StreamOptions): PromptModule; | ||
/** | ||
@@ -41,0 +50,0 @@ * Public CLI helper interface |
{ | ||
"name": "@types/inquirer", | ||
"version": "0.0.41", | ||
"version": "0.0.42", | ||
"description": "TypeScript definitions for Inquirer.js", | ||
@@ -41,2 +41,7 @@ "license": "MIT", | ||
"githubUsername": "jrockwood" | ||
}, | ||
{ | ||
"name": "Keith Kelly", | ||
"url": "https://github.com/kwkelly", | ||
"githubUsername": "kwkelly" | ||
} | ||
@@ -47,3 +52,3 @@ ], | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
@@ -55,4 +60,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "14121759027cea8d8d162f9003fe1c959ec59a086f33a243b3059b20b91abe14", | ||
"typesPublisherContentHash": "2dbe117ffffdd4b5484626d4fa790304692c813e19117a6919f7fad404a2a829", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inquirer | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inquirer | ||
Additional Details | ||
* Last updated: Tue, 03 Apr 2018 20:25:19 GMT | ||
* Last updated: Mon, 18 Jun 2018 22:47:04 GMT | ||
* Dependencies: through, rx | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Qubo <https://github.com/tkQubo>, Parvez <https://github.com/ppathan>, Jouderian <https://github.com/jouderianjr>, Qibang <https://github.com/bang88>, Jason Dreyzehner <https://github.com/bitjson>, Synarque <https://github.com/synarque>, Justin Rockwood <https://github.com/jrockwood>. | ||
These definitions were written by Qubo <https://github.com/tkQubo>, Parvez <https://github.com/ppathan>, Jouderian <https://github.com/jouderianjr>, Qibang <https://github.com/bang88>, Jason Dreyzehner <https://github.com/bitjson>, Synarque <https://github.com/synarque>, Justin Rockwood <https://github.com/jrockwood>, Keith Kelly <https://github.com/kwkelly>. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15575
326