[yargs-parser] Add config options strip-dashed and strip-aliased (#38108)

* [yargs-parser] Add config options `strip-dashed` and `strip-aliased`

yargs-parser v.13.1.0 (2019-05-05) added the config options `strip-dashed` and `strip-aliased`
https://github.com/yargs/yargs-parser/blob/master/CHANGELOG.md#1310-2019-05-05

* Update date in header

* Drop patch version to fix CI

* Drop patch version to fix CI
This commit is contained in:
Søren Louv-Jansen
2019-09-05 11:15:53 -07:00
committed by Andrew Casey
parent 3e1d573493
commit de1035d2d7
+5 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for yargs-parser 13.0
// Type definitions for yargs-parser 13.1
// Project: https://github.com/yargs/yargs-parser#readme
// Definitions by: Miles Johnson <https://github.com/milesj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -52,6 +52,10 @@ declare namespace yargsParser {
'set-placeholder-key': boolean;
/** Should a group of short-options be treated as boolean flags? Default is `true` */
'short-option-groups': boolean;
/** Should aliases be removed before returning results? Default is `false` */
'strip-aliased': boolean;
/** Should dashed keys be removed before returning results? This option has no effect if camel-case-expansion is disabled. Default is `false` */
'strip-dashed': boolean;
}
interface Options {