2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

fix: keep compatability with other changes

This commit is contained in:
Jay
2022-10-07 10:24:18 +02:00
parent 2149464bb4
commit a46beab152
12 changed files with 30 additions and 21 deletions
+3 -1
View File
@@ -14,7 +14,7 @@ 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
@@ -74,4 +74,6 @@ axios.formToJSON = thing => {
return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
};
axios.AxiosHeaders = AxiosHeaders;
export default axios