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