@types/yargs-interactive
Advanced tools
Comparing version
@@ -1,4 +0,5 @@ | ||
// Type definitions for yargs-interactive 2.0 | ||
// Type definitions for yargs-interactive 2.1 | ||
// Project: https://github.com/nanovazquez/yargs-interactive#readme | ||
// Definitions by: Steven Zeck <https://github.com/szeck87> | ||
// Nano Vazquez <https://github.com/nanovazquez> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -10,7 +11,7 @@ | ||
interface OptionData { | ||
type: string; | ||
type: 'input' | 'number' | 'confirm' | 'list' | 'rawlist' | 'expand' | 'checkbox' | 'password' | 'editor'; | ||
describe: string; | ||
default?: string | number | boolean; | ||
prompt?: string; | ||
options?: string[]; | ||
default?: string | number | boolean | any[]; | ||
prompt?: 'always' | 'never' | 'if-no-arg' | 'if-empty'; | ||
choices?: string[]; | ||
} | ||
@@ -17,0 +18,0 @@ interface Option { |
{ | ||
"name": "@types/yargs-interactive", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for yargs-interactive", | ||
@@ -11,13 +11,20 @@ "license": "MIT", | ||
"githubUsername": "szeck87" | ||
}, | ||
{ | ||
"name": "Nano Vazquez", | ||
"url": "https://github.com/nanovazquez", | ||
"githubUsername": "nanovazquez" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/yargs-interactive" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "24f483406c5e27b4b3bfe0f2e1310c9f43ac3deffc9c85610cc722fdcc47710d", | ||
"typesPublisherContentHash": "cfcb223ca8b2d41ccd795203bfa0105036b597dc3819650c6fb56e55f7616cda", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Sat, 14 Jul 2018 01:02:01 GMT | ||
* Last updated: Fri, 02 Aug 2019 00:43:35 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Steven Zeck <https://github.com/szeck87>. | ||
These definitions were written by Steven Zeck <https://github.com/szeck87>, and Nano Vazquez <https://github.com/nanovazquez>. |
Sorry, the diff of this file is not supported yet
3667
15.82%24
4.35%