schangxiang@126.com
2025-06-13 f10d68fe7b934ba7ad8e8393f36f20878ed8155d
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;
    }
}