nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

fix(types): update types for `HTTPError` to `ky.HTTPError` #91

Closed wildan2711 closed 4 years ago

wildan2711 commented 4 years ago

Since ky@0.19.0, HTTPError is moved to namespaced ky.HTTPError, causing type errors in nuxt-ts.

Refer to this PR: https://github.com/sindresorhus/ky/pull/241

pi0 commented 4 years ago

Thanks!