We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type '(response: FetchInterceptorResponse) => Promise' is not assignable to type '(response: FetchInterceptorResponse) => FetchInterceptorResponse'.
export interface FetchInterceptor { request?(url: string, config: any): Promise<any[]> | any[]; requestError?(error: any): Promise; response?(response: FetchInterceptorResponse): FetchInterceptorResponse; responseError?(error: any): Promise; }
So, the example of refresh token is not usable with ts...
The text was updated successfully, but these errors were encountered:
The example is here #39 (comment)
Sorry, something went wrong.
Check this #60 (comment)
No branches or pull requests
Type '(response: FetchInterceptorResponse) => Promise' is not assignable to type '(response: FetchInterceptorResponse) => FetchInterceptorResponse'.
export interface FetchInterceptor {
request?(url: string, config: any): Promise<any[]> | any[];
requestError?(error: any): Promise;
response?(response: FetchInterceptorResponse): FetchInterceptorResponse;
responseError?(error: any): Promise;
}
So, the example of refresh token is not usable with ts...
The text was updated successfully, but these errors were encountered: