core icon indicating copy to clipboard operation
core copied to clipboard

types(defineComponent): Keep slot information on functional components

Open pikax opened this issue 2 years ago • 2 comments

fix https://github.com/vuejs/core/issues/9649

Appends slot information as props, since the SlotType relies on a symbol, that won't bleed out to props.

I personally don't really like this approach, since I would preferably align this to typescript Slot support, Vue language tools will need to be updated to expect slots in props.

pikax avatar Nov 30 '23 15:11 pikax