argument type is not assignable to parameter type axiosrequestconfig undefined code example
Example: Argument of type '{ query: string; }' is not assignable to parameter of type 'AxiosRequestConfig'.
// create a file named axios.d.ts and put underneath code.
declare module 'axios'