Passing a typed function to define prop should not return a composable
aikmandean opened this issue · comments
When you try to define a callback that would need a few props, you aren't able to require it as a dependency.
const OnSubscribeCallback = defineProp(fn(props => {}), { SubscriberId, ChannelId })
OnSubscribeCallback
is Composable
because it was created using fn()
. To fix this define prop should know to strip composability since that is the user's intent.