<commit_before>// Type definitions for yargs 8.0
// Project: https://github.com/chevex/yargs
// Definitions by: <NAME> <https://github.com/poelstra>
//                 <NAME> <https://github.com/mizunashi-mana>
//                 <NAME> <https://github.com/pushplay>
//                 <NAME> <https://github.com/jeffkenney>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

// unified-signatures: Because there is useful information in the argument names of the overloaded signatures
// prefer-method-signature: Because it makes more sense for optional functions provided in options objects
/* tslint:disable:unified-signatures prefer-method-signature */

declare namespace yargs {
    interface Argv {
        argv: Arguments;
        (args?: string[], cwd?: string): Arguments;
        parse(args: string | string[], context?: object, parseCallback?: ParseCallback): Arguments;

        reset(): Argv;

        locale(): string;
        locale(loc: string): Argv;

        detectLocale(detect: boolean): Argv;

        terminalWidth(): number;
<commit_msg>Yargs only require version 2.2<commit_after>// Type definitions for yargs 8.0
// Project: https://github.com/chevex/yargs
// Definitions by: <NAME> <https://github.com/poelstra>
//                 <NAME> <https://github.com/mizunashi-mana>
//                 <NAME> <https://github.com/pushplay>
//                 <NAME> <https://github.com/jeffkenney>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

// unified-signatures: Because there is useful information in the argument names of the overloaded signatures
// prefer-method-signature: Because it makes more sense for optional functions provided in options objects
/* tslint:disable:unified-signatures prefer-method-signature */

declare namespace yargs {
    interface Argv {
        argv: Arguments;
        (args?: string[], cwd?: string): Arguments;
        parse(args: string | string[], context?: object, parseCallback?: ParseCallback): Arguments;

        reset(): Argv;

        locale(): string;
        locale(loc: string): Argv;

        detectLocale(detect: boolean): Argv;

        terminalWidth(): number;

{'fraction_non_alphanumeric': 0.12898876404494383, 'fraction_numerical': 0.0044943820224719105, 'mean_word_length': 2.975, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4296517', 'n_tokens_mistral': 623, 'n_tokens_neox': 609, 'n_words': 172}