Skip to content

Commit

Permalink
fix(types): return type of $fetch (#9854)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultVlacich committed Sep 27, 2021
1 parent 39779d8 commit 034b990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/app/vue.d.ts
Expand Up @@ -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
Expand Down

0 comments on commit 034b990

Please sign in to comment.