apache / apache/echarts

[Typescript] echartsInstance.on function declare not support : 'query' param need add a function rewrite

Open
#13,240 2 comments 0 reactions 0 assignees View on GitHub
en enhancement
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
4.9.0

### Steps to reproduce
If you use typescript, you will find, the function (echartsInstance.on) not support this params payload form
(eventName: string, query: string|Object, handler: Function, context?: Object )

you should add a function rewrite on index.d.ts

on 函数没有支持 query 入参的输入,index.d.ts 里面要加一个关于on函数的重写~

### What is expected?
add a function rewrite

### What is actually happening?
my vscode warning me

---
羡辙姐姐真漂亮~

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.