bgpedersen commented on issue #20554:
URL: https://github.com/apache/echarts/issues/20554#issuecomment-2717954564

   We have the same ESM error after upgrading to typescript 5.8. This error 
occurs because TypeScript 5.8 enforces stricter rules regarding export = in ESM 
modules. The echarts library is using the export = syntax, which is 
incompatible.
   
   ```
   Error: node_modules/echarts/index.d.ts:23:1 - error TS1203: Export 
assignment cannot be used when targeting ECMAScript modules. Consider using 
'export default' or another module format instead.
   
   23 export = echarts;
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to