You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
如何扩展EventArgs使自定义事件获得类型提示
我有一个vue2的项目,需要使用自定义事件,于是我在global.d.ts添加如下内容
他实际上覆盖了
@antv/x6
而不是扩展。随后我尝试添加
import '@antv/x6'
,但它并没有如月获得代码提示,我依旧不能从自定义事件获取任何类型提示。至于为什么我不用内置的鼠标事件,当然是因为业务需要。
Beta Was this translation helpful? Give feedback.
All reactions