mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-23 17:10:07 +00:00
chore: hide private option
This commit is contained in:
parent
c689fd27d3
commit
86afe81e83
@ -88,11 +88,6 @@ export interface AsyncDataOptions<
|
|||||||
* @default 'cancel'
|
* @default 'cancel'
|
||||||
*/
|
*/
|
||||||
dedupe?: 'cancel' | 'defer'
|
dedupe?: 'cancel' | 'defer'
|
||||||
/**
|
|
||||||
* Internally used by useFetch
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
_useFetch?: boolean
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AsyncDataExecuteOptions {
|
export interface AsyncDataExecuteOptions {
|
||||||
|
@ -144,6 +144,7 @@ export function useFetch<
|
|||||||
getCachedData,
|
getCachedData,
|
||||||
deep,
|
deep,
|
||||||
watch: watch === false ? [] : [_fetchOptions, _request, ...(watch || [])],
|
watch: watch === false ? [] : [_fetchOptions, _request, ...(watch || [])],
|
||||||
|
// @ts-expect-error private method
|
||||||
_useFetch: true
|
_useFetch: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user