Skip to content

Typo in src/util/types.ts #14716

@shijieyao

Description

@shijieyao

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions