<commit_before>// Type definitions for tcomb v1.0.3
// Project: http://gcanti.github.io/tcomb/guide/index.html
// Definitions by: <NAME> <https://github.com/hansrwindhoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module TComb {

  export interface NumbersOnly {
      [idx:number]:string;
  }
  export interface tcomb {
    format: (format: string, ...values: any[]) => string;
    getFunctionName: (fn: Function) => string;
    getTypeName: (type: TCombBase) => string;
    mixin: (target: {}, source: {}, overwrite?: boolean) => any;
    slice: typeof Array.prototype.slice;
    shallowCopy: (x: TCombBase) => TCombBase;
    update: (instance: any, spec: {} ) => TCombBase;
    assert: (condition: boolean, message?: string, ...values: any[]) => void;
    fail: (message?: string) => void;
    Any: Any_Static;
    Nil: Str_Static;
    Str: Str_Static;
    Num: Num_Static;
    Bool: Bool_Static;<commit_msg>lines<commit_after>// Type definitions for tcomb v1.0.3
// Project: http://gcanti.github.io/tcomb/guide/index.html
// Definitions by: <NAME> <https://github.com/hansrwindhoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module TComb {
  export interface tcomb {
    format: (format: string, ...values: any[]) => string;
    getFunctionName: (fn: Function) => string;
    getTypeName: (type: TCombBase) => string;
    mixin: (target: {}, source: {}, overwrite?: boolean) => any;
    slice: typeof Array.prototype.slice;
    shallowCopy: (x: TCombBase) => TCombBase;
    update: (instance: any, spec: {} ) => TCombBase;
    assert: (condition: boolean, message?: string, ...values: any[]) => void;
    fail: (message?: string) => void;
    Any: Any_Static;
    Nil: Str_Static;
    Str: Str_Static;
    Num: Num_Static;
    Bool: Bool_Static;
{'fraction_non_alphanumeric': 0.16214720531267293, 'fraction_numerical': 0.003320420586607637, 'mean_word_length': 3.7083333333333335, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, 'https://': 4, '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': '5064637', 'n_tokens_mistral': 596, 'n_tokens_neox': 582, 'n_words': 151}