core
core copied to clipboard
types(defineComponent): Keep slot information on functional components
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.