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
Hello, I am trying to use this in a lambda and I am using typescript. When I try to set request in the config to axios as described in the readme, I get the following compilation error.
Type 'AxiosStatic' is not assignable to type '(fetchContext: FetchContext) => Promise<Response>'.
Types of parameters 'config' and 'fetchContext' are incompatible.
Type 'FetchContext' is not assignable to type 'AxiosRequestConfig'.
Types of property 'method' are incompatible.
Type 'string' is not assignable to type 'Method'.ts(2322)
The text was updated successfully, but these errors were encountered:
Hello, I am trying to use this in a lambda and I am using typescript. When I try to set
request
in the config toaxios
as described in the readme, I get the following compilation error.The text was updated successfully, but these errors were encountered: