@click should report ts type mismatch error #4600
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Vue - Official extension or vue-tsc version
2.0.26
VSCode version
1.91.1
Vue version
3.4.31
TypeScript version
5.5.2
System Info
Steps to reproduce
代码如图
What is expected?
当
@click
接受的是函数引用时,函数ts类型和@click
接受的类型应该不一致时,报ts不匹配错误,如下图What is actually happening?
inrement函数类型跟
@click
类型不匹配,没有显示ts错误Link to minimal reproduction
No response
Any additional comments?
Thanks your job!❤
The text was updated successfully, but these errors were encountered: