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
{{ message }}
Repository navigation
AxiosHeaders class type definitions expose a missing setAuthorization method #5501
I'm trying to create a basic request interceptor to set Authorization header. According to axios type definitions, I can use config.headers.setAuthorization method in my interceptor.
TypeScript compiles my source code correctly, but it fails to run, throwing a TypeError
changed the title [-]AxiosHeaders class type definitions expose missing methods[/-][+]AxiosHeaders class type definitions expose a missing setAuthorization method[/+]on Jan 26, 2023
Activity
[-]AxiosHeaders class type definitions expose missing methods[/-][+]AxiosHeaders class type definitions expose a missing setAuthorization method[/+]