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