schangxiang@126.com
2025-09-19 0821aa23eabe557c0d9ef5dbe6989c68be35d1fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Type definitions for dargs 5.1
// Project: https://github.com/sindresorhus/dargs#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
 
export = dargs;
 
declare function dargs(input: object, options?: dargs.Options): string[];
 
declare namespace dargs {
    interface Options {
        excludes?: ReadonlyArray<string | RegExp>;
        includes?: ReadonlyArray<string | RegExp>;
        aliases?: { [key: string]: string };
        useEquals?: boolean;
        ignoreFalse?: boolean;
        allowCamelCase?: boolean;
    }
}