mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* 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.
23 lines
485 B
JSON
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"
|
|
]
|
|
} |