language-tools
language-tools copied to clipboard
Vue-tsc: missing type inference with v-bind="onEvent" syntax
When I use v-bind="onEvent"
syntax to add an event handler to a Vue component in the template, the $event
parameter's type is not inferred correctly. I can work around this by using @event
syntax, but there are cases where I would prefer not to have to.
Is this a known limitation, or is it being addressed somewhere?
Works on my machine?
Maybe a config issue then. Is there anything different between your setup and the Vue SFC Playground?