<commit_before>// can't test because it depends on axios which makes Travis CI be unable to compile with the error "expect TypeScript@next compile error: Cannot find module 'axios'."

import axios, { AxiosPromise } from "axios";
import axiosCancel from "axios-cancel";

axiosCancel(axios); // $ExpectType void

axios.get(
    'https://jsonplaceholder.typicode.com/users', {
        requestId: "test id"
    }
); // $ExpectType AxiosPromise

axios.cancel("test id"); // $ExpectType void

axios.cancelAll(); // $ExpectType void<commit_msg>Added the definition of the "axios-cancel" package<commit_after>// can't test because it depends on axios which makes Travis CI be unable to compile with the error "expect TypeScript@next compile error: Cannot find module 'axios'."

import axios, { AxiosPromise } from "axios";
import axiosCancel from "axios-cancel";

axiosCancel(axios); // $ExpectType void

axios.get(
    'https://jsonplaceholder.typicode.com/users', {
        requestId: "test id"
    }
);

axios.cancel("test id"); // $ExpectType void

axios.cancelAll(); // $ExpectType void
{'fraction_non_alphanumeric': 0.12188365650969529, 'fraction_numerical': 0.0, 'mean_word_length': 4.236714975845411, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6069719', 'n_tokens_mistral': 335, 'n_tokens_neox': 325, 'n_words': 111}