Answers for "argument of type '"axios"' is not assignable to parameter of type 'nonfunctionpropertynames<required<axiosstatic>>'"

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 '"axios"' is not assignable to parameter of type 'nonfunctionpropertynames<required<axiosstatic>>'"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language