From be73cc9cf96be7a1c84f3ec569cc74250471d879 Mon Sep 17 00:00:00 2001 From: Ryota Watanabe <43837308+wattanx@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:15:02 +0900 Subject: [PATCH] docs: deprecate `pending` value in data fetching composables (#26766) --- packages/nuxt/src/app/composables/asyncData.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nuxt/src/app/composables/asyncData.ts b/packages/nuxt/src/app/composables/asyncData.ts index 241352df6d..5426155be3 100644 --- a/packages/nuxt/src/app/composables/asyncData.ts +++ b/packages/nuxt/src/app/composables/asyncData.ts @@ -110,6 +110,9 @@ export interface AsyncDataExecuteOptions { export interface _AsyncData { data: Ref + /** + * @deprecated Use `status` instead. This may be removed in a future major version. + */ pending: Ref refresh: (opts?: AsyncDataExecuteOptions) => Promise execute: (opts?: AsyncDataExecuteOptions) => Promise