<commit_before>// Type definitions for Moment.js 2.5.0
// Project: https://github.com/timrwood/moment
// Definitions by: <NAME> <https://github.com/Lakerfield>
// 		2.4.0 <NAME> <https://github.com/kingdango>
// 		2.5.0 <NAME> <https://github.com/horiuchi>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped


interface MomentInput {
    years?: number;
    y?: number;
    months?: number;
    M?: number;
    weeks?: number;
    w?: number;
    days?: number;
    d?: number;
    hours?: number;
    h?: number;
    minutes?: number;
    m?: number;
    seconds?: number;
    s?: number;
    milliseconds?: number;
    ms?: number;
}


interface Duration {

    humanize(): string;

    milliseconds(): number;
    asMilliseconds(): number;

    seconds(): number;
    asSeconds(): number;

    minutes(): number;
    asMinutes(): number;

    hours(): number;
    asHours(): number;

    days(): number;
    asDays(): number;

    months(): number;
    asMonths(): number;

    years(): number;
    asYears(): number;

}

interface Moment {

    format(format: string): string;
    format(): string;<commit_msg>Updated definition for the Duration.humanize<commit_after>// Type definitions for Moment.js 2.5.0
// Project: https://github.com/timrwood/moment
// Definitions by: <NAME> <https://github.com/Lakerfield>
// 		2.4.0 <NAME> <https://github.com/kingdango>
// 		2.5.0 <NAME> <https://github.com/horiuchi>
// DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped


interface MomentInput {
    years?: number;
    y?: number;
    months?: number;
    M?: number;
    weeks?: number;
    w?: number;
    days?: number;
    d?: number;
    hours?: number;
    h?: number;
    minutes?: number;
    m?: number;
    seconds?: number;
    s?: number;
    milliseconds?: number;
    ms?: number;
}


interface Duration {

    humanize(withSuffix?: boolean): string;

    milliseconds(): number;
    asMilliseconds(): number;

    seconds(): number;
    asSeconds(): number;

    minutes(): number;
    asMinutes(): number;

    hours(): number;
    asHours(): number;

    days(): number;
    asDays(): number;

    months(): number;
    asMonths(): number;

    years(): number;
    asYears(): number;

}

interface Moment {

    format(format: string): string;
    format(): string;
{'fraction_non_alphanumeric': 0.1622674167027261, 'fraction_numerical': 0.007788836001730853, 'mean_word_length': 2.8857142857142857, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 10, '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': '7204418', 'n_tokens_mistral': 773, 'n_tokens_neox': 734, 'n_words': 190}