From de1035d2d7f628a47bbd8e7b8de852f10d21c507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Thu, 5 Sep 2019 20:15:53 +0200 Subject: [PATCH] [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 --- types/yargs-parser/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/yargs-parser/index.d.ts b/types/yargs-parser/index.d.ts index 3e0e732ba8..9025b4d354 100644 --- a/types/yargs-parser/index.d.ts +++ b/types/yargs-parser/index.d.ts @@ -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 // 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 {