mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix: yargs-parser add unknown-options-as-args option (#41531)
This commit is contained in:
parent
7c7bd70de2
commit
699b8159a6
4
types/yargs-parser/index.d.ts
vendored
4
types/yargs-parser/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for yargs-parser 13.1
|
||||
// Type definitions for yargs-parser 15.0
|
||||
// Project: https://github.com/yargs/yargs-parser#readme
|
||||
// Definitions by: Miles Johnson <https://github.com/milesj>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -56,6 +56,8 @@ declare namespace yargsParser {
|
||||
'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;
|
||||
/** Should unknown options be treated like regular arguments? An unknown option is one that is not configured in opts. Default is `false` */
|
||||
'unknown-options-as-args': boolean;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user