Skip to content

docs: document typed slots in Options API guide and link from Slots guide - #3480

Open
dilipsaroj wants to merge 1 commit into
vuejs:mainfrom
dilipsaroj:docs/typing-slots-options-api
Open

dilipsaroj wants to merge 1 commit into
vuejs:mainfrom
dilipsaroj:docs/typing-slots-options-api

Conversation

@dilipsaroj

Copy link
Copy Markdown

Description of Problem

#2371 points out that typed slots (3.3+) are missing from the guide. The Slots guide and the TypeScript with Options API guide don't mention them; they're only covered in the API reference.

Proposed Solution

  • Add a "Typing Component Slots" section to guide/typescript/options-api.md, showing the slots option with SlotsType
  • Add a sentence to the Scoped Slots section of guide/components/slots.md linking to the TypeScript sections

Additional Information

I checked the example with vue-tsc (Vue 3.5, TypeScript 5.9).

This depends on #3479, which adds the Composition API section that the Slots guide links to.

Closes #2371

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit b9a3b87
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/6ad1df1ae6b17cc72ee6bba6
😎 Deploy Preview https://deploy-preview-3480--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript documentation not updated for vue 3.3 typed slots

1 participant