mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
fix: 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