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. |
||
|---|---|---|
| .. | ||
| v8 | ||
| v10 | ||
| v11 | ||
| .editorconfig | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||
| yargs-tests.ts | ||