On Nuxt TypeScript project using http module, we have a type error from tslint
ERROR ERROR in /.../node_modules/@nuxt/http/types/index.d.ts(141,18):
141:18 Parameter has a name but no type. Did you mean 'arg0: HTTPError'?
139 | * This hook enables you to globally handle request errors.
140 | */
> 141 | onError(hook: (HTTPError) => void): void
| ^
142 | }
143 |
144 | declare module '@nuxt/vue-app' {
On Nuxt TypeScript project using http module, we have a type error from tslint
This fix handle simply this typing issue.