From 7339ee5dd86ed4b703f4855522eabe28f20e7666 Mon Sep 17 00:00:00 2001 From: Cruz Date: Sat, 2 Nov 2024 06:43:57 -0300 Subject: [PATCH] docs: type cast api plugin in custom usefetch example (#29756) --- docs/2.guide/4.recipes/3.custom-usefetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2.guide/4.recipes/3.custom-usefetch.md b/docs/2.guide/4.recipes/3.custom-usefetch.md index a0ac6d7e29..45d9651237 100644 --- a/docs/2.guide/4.recipes/3.custom-usefetch.md +++ b/docs/2.guide/4.recipes/3.custom-usefetch.md @@ -77,7 +77,7 @@ export function useAPI( ) { return useFetch(url, { ...options, - $fetch: useNuxtApp().$api + $fetch: useNuxtApp().$api as typeof $fetch }) } ```