mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
645 B
TypeScript
21 lines
645 B
TypeScript
// 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;
|
|
}
|
|
}
|