<commit_before>import { test } from 'ramda';
import path from 'path';
import * as tt from 'typescript-definition-tester';


describe('Typescript definitions', function() {
  it('should compile against index.d.ts', (done) => {
    this.timeout(15000); // give typescript compiler enough time to complete
    tt.compileDirectory(
      path.join(__dirname, '..', 'src'),
      test(/index.d.ts$/),
      () => done()
    );
  });
});
<commit_msg>test(index.d.ts): use classical function declaration<commit_after>import { test } from 'ramda';
import path from 'path';
import * as tt from 'typescript-definition-tester';


describe('Typescript definitions', function() {
  it('should compile against index.d.ts', function(done) {
    this.timeout(15000); // give typescript compiler enough time to complete
    tt.compileDirectory(
      path.join(__dirname, '..', 'src'),
      test(/index.d.ts$/),
      () => done()
    );
  });
});

{'fraction_non_alphanumeric': 0.1684549356223176, 'fraction_numerical': 0.01072961373390558, 'mean_word_length': 3.618811881188119, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '3261886', 'n_tokens_mistral': 290, 'n_tokens_neox': 277, 'n_words': 72}