Skip to content

Commit

Permalink
add missing export (#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Oct 5, 2022
1 parent 484aa4f commit d61dbed
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lib/axios.js
Expand Up @@ -7,13 +7,15 @@ import mergeConfig from './core/mergeConfig.js';
import defaults from './defaults/index.js';
import formDataToJSON from './helpers/formDataToJSON.js';
import CanceledError from './cancel/CanceledError.js';
import CancelToken from'./cancel/CancelToken.js';
import isCancel from'./cancel/isCancel.js';
import CancelToken from './cancel/CancelToken.js';
import isCancel from './cancel/isCancel.js';
import {VERSION} from './env/data.js';
import toFormData from './helpers/toFormData.js';
import AxiosError from './core/AxiosError.js';
import spread from './helpers/spread.js';
import isAxiosError from './helpers/isAxiosError.js';
import AxiosHeaders from './core/AxiosHeaders.js';


/**
* Create an instance of Axios
Expand Down Expand Up @@ -74,3 +76,11 @@ axios.formToJSON = thing => {
};

export default axios;

export {
Axios,
AxiosHeaders,
AxiosError,
CanceledError,
};

0 comments on commit d61dbed

Please sign in to comment.