mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #24584 from bang88/fix-optional-type
fix(Inquirer): optional T
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ import through = require('through');
|
||||
declare namespace inquirer {
|
||||
type Prompts = { [name: string]: PromptModule };
|
||||
type ChoiceType = string | objects.ChoiceOption | objects.Separator;
|
||||
type Questions<T> =
|
||||
type Questions<T = Answers> =
|
||||
| Question<T>
|
||||
| ReadonlyArray<Question<T>>
|
||||
| Rx.Observable<Question<T>>;
|
||||
|
||||
Reference in New Issue
Block a user