From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:26:15 +0800 Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改 --- PAMapp/node_modules/@types/yargs-parser/index.d.ts | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/PAMapp/node_modules/@types/yargs-parser/index.d.ts b/PAMapp/node_modules/@types/yargs-parser/index.d.ts index ed6c870..959e017 100755 --- a/PAMapp/node_modules/@types/yargs-parser/index.d.ts +++ b/PAMapp/node_modules/@types/yargs-parser/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for yargs-parser 20.2 +// Type definitions for yargs-parser 21.0 // Project: https://github.com/yargs/yargs-parser#readme // Definitions by: Miles Johnson <https://github.com/milesj> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,9 +7,9 @@ declare namespace yargsParser { interface Arguments { /** Non-option arguments */ - _: string[]; - /** The script name or node command */ - $0: string; + _: Array<string | number>; + /** Arguments after the end-of-options flag `--` */ + '--'?: Array<string | number>; /** All remaining options */ [argName: string]: any; } @@ -74,7 +74,10 @@ * Indicate that keys should be parsed as an array and coerced to booleans / numbers: * { array: [ { key: 'foo', boolean: true }, {key: 'bar', number: true} ] }`. */ - array?: string[] | Array<{ key: string; boolean?: boolean | undefined, number?: boolean | undefined }> | undefined; + array?: + | string[] + | Array<{ key: string; boolean?: boolean | undefined; number?: boolean | undefined }> + | undefined; /** Arguments should be parsed as booleans: `{ boolean: ['x', 'y'] }`. */ boolean?: string[] | undefined; /** Indicate a key that represents a path to a configuration file (this file will be loaded and parsed). */ @@ -105,6 +108,9 @@ interface Parser { (argv: string | string[], opts?: Options): Arguments; detailed(argv: string | string[], opts?: Options): DetailedArguments; + camelCase(str: string): string; + decamelize(str: string, joinString?: string): string; + looksLikeNumber(value: string | number | null | undefined): boolean; } } -- Gitblit v1.8.0