DefinitelyTyped/types/yargs/tsconfig.json
steffenvv ffdeb117ad yargs: Infer types of parsed options (#31000)
* Updated typings for yargs, inferring the shape of the parsed arguments.

* Fix lint errors.

* Use $ExpectType, and add more tests.

* Updated comments.

* Slight improvement to alias, organize tests more systematically.

* Fix for count, more tests.

* More restructuring of tests.

* Handle optional vs. required options.

* Consistently use [key in ... for mapped types.

* Improve handling of arrays, defaulting to (string | number)[].

* More improvements to array/number/string handling, and use Omit to reset types for repeated options.

* More precise usage of Omit, fix ToString and ToNumber.

* Remove blank line, keeping the alias overloads in one group..

* Bump required TypeScript version in yargs-parser to match yargs, and adapt the Arguments type.

* Use ReadonlyArray for choices.
2018-12-19 16:18:48 -08:00

23 lines
485 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"yargs-tests.ts"
]
}