diff --git a/packages/nuxt/src/app/composables/fetch.ts b/packages/nuxt/src/app/composables/fetch.ts index 3701153cf4..6855b6cdfc 100644 --- a/packages/nuxt/src/app/composables/fetch.ts +++ b/packages/nuxt/src/app/composables/fetch.ts @@ -27,6 +27,11 @@ interface NitroFetchOptions> = ComputedOptions> +/** + * Options for the useFetch composable. + * For GET and HEAD requests, the body property is automatically + * omitted to align with HTTP/1.1 specifications (RFC 7231). + */ export type UseFetchOptions< ResT, DataT = ResT,