From be7d43034bc93de5a357d367949af77d5bdc1725 Mon Sep 17 00:00:00 2001 From: Ted de Koning <1109781+tdekoning@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:40:07 +0100 Subject: [PATCH] fix(nuxt): correct return type of `refresh` functions (#25568) --- packages/nuxt/src/app/composables/asyncData.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxt/src/app/composables/asyncData.ts b/packages/nuxt/src/app/composables/asyncData.ts index de13125034..2add45fc25 100644 --- a/packages/nuxt/src/app/composables/asyncData.ts +++ b/packages/nuxt/src/app/composables/asyncData.ts @@ -107,8 +107,8 @@ export interface AsyncDataExecuteOptions { export interface _AsyncData { data: Ref pending: Ref - refresh: (opts?: AsyncDataExecuteOptions) => Promise - execute: (opts?: AsyncDataExecuteOptions) => Promise + refresh: (opts?: AsyncDataExecuteOptions) => Promise + execute: (opts?: AsyncDataExecuteOptions) => Promise error: Ref status: Ref }