mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +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 {
|
||||
$config: NuxtRuntimeConfig
|
||||
$nuxt: NuxtApp
|
||||
$fetch(): void
|
||||
$fetch(): Promise<void> | void
|
||||
$fetchState: {
|
||||
error: Error | null
|
||||
pending: boolean
|
||||
|
Loading…
Reference in New Issue
Block a user