Answers for "Argument of type '{ query: string; }' is not assignable to parameter of type 'AxiosRequestConfig'."

0

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'
Posted by: Guest on July-14-2020

Code answers related to "Argument of type '{ query: string; }' is not assignable to parameter of type 'AxiosRequestConfig'."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language