From 034b9901df8a304c6a97cf649a07cba7fbc55446 Mon Sep 17 00:00:00 2001 From: Thibault Vlacich Date: Mon, 27 Sep 2021 14:56:44 +0200 Subject: [PATCH] fix(types): return type of $fetch (#9854) --- packages/types/app/vue.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/app/vue.d.ts b/packages/types/app/vue.d.ts index b1ee106945..655a7bf7f4 100644 --- a/packages/types/app/vue.d.ts +++ b/packages/types/app/vue.d.ts @@ -105,7 +105,7 @@ declare module 'vue/types/vue' { interface Vue { $config: NuxtRuntimeConfig $nuxt: NuxtApp - $fetch(): void + $fetch(): Promise | void $fetchState: { error: Error | null pending: boolean