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
源码
const onError = proxy.onError; error = {config: xhr.config, error: error, type: errorType}; if (onError) { onError(error, handler); } else { handler.next(error); }
类型定义
interface XhrError { config: XhrRequestConfig, type: XhrErrorType } onError?: (err: XhrError, handler: XhrErrorHandler) => void,
XhrError少个error属性的类型声明
The text was updated successfully, but these errors were encountered:
我覺得這個你可以直接提交PR吧
Sorry, something went wrong.
No branches or pull requests
源码
类型定义
XhrError少个error属性的类型声明
The text was updated successfully, but these errors were encountered: