mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
docs: deprecate pending
value in data fetching composables (#26766)
This commit is contained in:
parent
ef1889f5e1
commit
be73cc9cf9
@ -110,6 +110,9 @@ export interface AsyncDataExecuteOptions {
|
|||||||
|
|
||||||
export interface _AsyncData<DataT, ErrorT> {
|
export interface _AsyncData<DataT, ErrorT> {
|
||||||
data: Ref<DataT>
|
data: Ref<DataT>
|
||||||
|
/**
|
||||||
|
* @deprecated Use `status` instead. This may be removed in a future major version.
|
||||||
|
*/
|
||||||
pending: Ref<boolean>
|
pending: Ref<boolean>
|
||||||
refresh: (opts?: AsyncDataExecuteOptions) => Promise<void>
|
refresh: (opts?: AsyncDataExecuteOptions) => Promise<void>
|
||||||
execute: (opts?: AsyncDataExecuteOptions) => Promise<void>
|
execute: (opts?: AsyncDataExecuteOptions) => Promise<void>
|
||||||
|
Loading…
Reference in New Issue
Block a user