mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(types): return type of $fetch (#9854)
This commit is contained in:
parent
39779d8fdb
commit
034b9901df
2
packages/types/app/vue.d.ts
vendored
2
packages/types/app/vue.d.ts
vendored
@ -105,7 +105,7 @@ declare module 'vue/types/vue' {
|
|||||||
interface Vue {
|
interface Vue {
|
||||||
$config: NuxtRuntimeConfig
|
$config: NuxtRuntimeConfig
|
||||||
$nuxt: NuxtApp
|
$nuxt: NuxtApp
|
||||||
$fetch(): void
|
$fetch(): Promise<void> | void
|
||||||
$fetchState: {
|
$fetchState: {
|
||||||
error: Error | null
|
error: Error | null
|
||||||
pending: boolean
|
pending: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user