docs: deprecate pending value in data fetching composables (#26766)

This commit is contained in:
Ryota Watanabe 2024-04-19 17:15:02 +09:00 committed by GitHub
parent ef1889f5e1
commit be73cc9cf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,9 @@ export interface AsyncDataExecuteOptions {
export interface _AsyncData<DataT, ErrorT> {
data: Ref<DataT>
/**
* @deprecated Use `status` instead. This may be removed in a future major version.
*/
pending: Ref<boolean>
refresh: (opts?: AsyncDataExecuteOptions) => Promise<void>
execute: (opts?: AsyncDataExecuteOptions) => Promise<void>