From 32600c68faf148bae9f9b4a9d53f6b42c1186f9f Mon Sep 17 00:00:00 2001 From: Dilip R Date: Fri, 16 Oct 2026 13:21:36 +0530 Subject: [PATCH 1/3] docs: add Typing Component Slots section to TypeScript guide --- src/guide/typescript/composition-api.md | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/guide/typescript/composition-api.md b/src/guide/typescript/composition-api.md index 26fc38e2b5..9ca9cda1cd 100644 --- a/src/guide/typescript/composition-api.md +++ b/src/guide/typescript/composition-api.md @@ -218,6 +218,53 @@ export default defineComponent({ }) ``` +## Typing Component Slots {#typing-component-slots} + +In ` + + +``` + +This gives parent components type checking and auto-completion for slot names and slot props, so `msg` is inferred as a `string` in ` ``` -This gives parent components type checking and auto-completion for slot names and slot props, so `msg` is inferred as a `string` in `