-
Notifications
You must be signed in to change notification settings - Fork 19.8k
vue3+ts 编译错误[Bug] #16417
Copy link
Copy link
Closed as not planned
Labels
bugpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.typescriptwaiting-for: author
Metadata
Metadata
Assignees
Labels
bugpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.typescriptwaiting-for: author
Type
Fields
Give feedbackNo fields configured for issues without a type.
Version
5.2.2
Link to Minimal Reproduction
No response
Steps to Reproduce
yarn run v1.22.11
warning package.json: No license field
$ vue-tsc --noEmit && vite build
node_modules/@types/echarts/index.d.ts:42:14 - error TS2383: Overload signatures must all be exported or non-exported.
42 function init(
~~~~
node_modules/@types/echarts/index.d.ts:67:14 - error TS2383: Overload signatures must all be exported or non-exported.
67 function connect(group: string | ECharts[]): void;
~~~~~~~
node_modules/@types/echarts/index.d.ts:75:14 - error TS2383: Overload signatures must all be exported or non-exported.
75 function disConnect(group: string): void;
~~~~~~~~~~
node_modules/@types/echarts/index.d.ts:83:14 - error TS2383: Overload signatures must all be exported or non-exported.
83 function dispose(target: ECharts | HTMLDivElement | HTMLCanvasElement): void;
Current Behavior
yarn build
Expected Behavior
编译通过
Environment
Any additional comments?
No response