mirror of https://github.com/sundowndev/http.git
fix(types): fix argument of onError (#67)
parent
ec24f7cc36
commit
be10314531
|
@ -138,7 +138,7 @@ interface NuxtHTTPInstance {
|
|||
*
|
||||
* This hook enables you to globally handle request errors.
|
||||
*/
|
||||
onError(hook: (HTTPError) => void): void
|
||||
onError(hook: (error: HTTPError) => void): void
|
||||
}
|
||||
|
||||
declare module '@nuxt/vue-app' {
|
||||
|
|
Loading…
Reference in New Issue