docs: remove onResponseError, onRequestError

master
pooya parsa 2019-03-24 00:04:52 +04:30
parent e01118631b
commit a8a288cee0
2 changed files with 0 additions and 4 deletions

View File

@ -7,8 +7,6 @@ HTTP plugin provides helpers to register http interceptors easier and faster.
- `onRequest(config)`
- `onResponse(response)`
- `onError(err)`
- `onRequestError(err)`
- `onResponseError(err)`
These functions don't have to return anything by default.

2
types/index.d.ts vendored
View File

@ -17,8 +17,6 @@ interface NuxtHTTPInstance {
onRequest(callback: (config: any) => void): void
onResponse<T = any>(callback: (response: any) => void): void
onError(callback: (error: any) => void): void
onRequestError(callback: (error: any) => void): void
onResponseError(callback: (error: any) => void): void
}
declare module '@nuxt/vue-app' {