mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-25 18:22:55 +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. |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||
| yargs-parser-tests.ts | ||