From 43ad7c727d0099538209f0dcd3043383909d6751 Mon Sep 17 00:00:00 2001 From: AloisSeckar Date: Wed, 18 Nov 2026 10:33:41 +0100 Subject: [PATCH] fix: properly open code block from #3479 --- src/guide/typescript/composition-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/typescript/composition-api.md b/src/guide/typescript/composition-api.md index ca941427d9..8608e5a097 100644 --- a/src/guide/typescript/composition-api.md +++ b/src/guide/typescript/composition-api.md @@ -240,6 +240,7 @@ While Vue can infer slot types from `` usage in the template, `defineSlots A component can forward all of a slot's props to a child component's slot with ``. When that child is the component itself, also known as a [recursive component](/api/sfc-script-setup#recursive-components), TypeScript can't infer the type of `slotProps` and reports `'slotProps' implicitly has type 'any'` unless the slot type is declared explicitly with `defineSlots()`: +```vue