fix(types): fix argument of onError (#67)

master
Michel EDIGHOFFER 2019-09-01 17:17:05 +02:00 committed by Pooya Parsa
parent ec24f7cc36
commit be10314531
1 changed files with 1 additions and 1 deletions

2
types/index.d.ts vendored
View File

@ -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' {