shijieyao opened a new issue #14716:
URL: https://github.com/apache/echarts/issues/14716
### Version
5.1.0
### Steps to reproduce
It seems to a quick report of an easy-fix bug, so pardon me for not
providing reproduction steps.
### What is expected?
Successful compilation.
### What is actually happening?
Error: node_modules/echarts/types/dist/echarts.d.ts:6391:14 - error TS1005:
']' expected.
6391 [key in ${ComponentMainType}Index]: number;
~
node_modules/echarts/types/dist/echarts.d.ts:6391:38 - error TS1005: ';'
expected.
6391 [key in ${ComponentMainType}Index]: number;
~
node_modules/echarts/types/dist/echarts.d.ts:6391:39 - error TS1128:
Declaration or statement expected.
6391 [key in ${ComponentMainType}Index]: number;
~
node_modules/echarts/types/dist/echarts.d.ts:6392:1 - error TS1128:
Declaration or statement expected.
6392 } & {
~
node_modules/echarts/types/dist/echarts.d.ts:6392:3 - error TS1109:
Expression expected.
6392 } & {
~
node_modules/echarts/types/dist/echarts.d.ts:6393:29 - error TS1005: ','
expected.
6393 [key in string]: unknown;
~m
<!-- 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]