it cant invoke class constructor accurately when use external class
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
- press F12 for develop tool
- click
<h1>
tag to invoke event callback - then dev tool say TypeError: Class constructors cannot be invoked without 'new'
What is expected?
invoke constructor with new
What is actually happening?
it invoke constructor without new
System Info
No response
Any additional comments?
No response
Fix this issue in #6491
Duplicate of https://github.com/vuejs/core/issues/6483 Let's track in that issue instead.