You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure why it was done the way it is, but axios is not a class/constructor and axios.create doesn't return an instance of it.
I recommend you to check the existence of a specific interface (like the request function) instead of using instanceof that could have a weird behaviour in some contexts.
Hi,
Does anyone know if it's possible to check if an object is an instance of axios? e.g.
The text was updated successfully, but these errors were encountered: