FengHuangDong opened a new issue #12678:
URL: https://github.com/apache/incubator-echarts/issues/12678
### Version
4.6.0
### Steps to reproduce
i'm use ts in echart so install "@types/echarts": "^4.6.0",
when I use api "
chartInstance.on('mouseover','series',this.mouseoverBarHandle) " but
typescript lint show error
I see the interface is
on(eventName: string, handler: Function, context?: object): void;
but echarts api document is
echartsInstance. on
Function
(
eventName: string,
handler: Function,
context?: Object
)
(
eventName: string,
query: string|Object,
handler: Function,
context?: Object
)
so not query params in ts?
### What is expected?
add query interface in ts
### What is actually happening?
not query
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]