Dynamic argument type incorrect? #2514
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Volar: v1.2.0
Takeover Mode: yes
I am trying to conditionally add/remove an event listener, but I am getting a type error:
According to the Vue docs (see "Dynamic Arguments" & "Dynamic Argument Value Constraints") you should be able to use
null
to remove the binding:The text was updated successfully, but these errors were encountered: