TypeError: axios_1.default.create is not a function code example
Example: _axios2.default.all is not a function
const axiosInstance = axios.create();
const requestOne = axiosInstance.get("https://jsonplaceholder.typicode.com/todos/1");
const requestTwo = axiosInstance.get("https://jsonplaceholder.typicode.com/todos/2");
const requestThree = axiosInstance.get("https://jsonplaceholder.typicode.com/todos/3");
axios.all([requestOne, requestTwo, requestThree])
.then((responses) => {
console.log(responses);
}).catch(errors => {
});