plainheart commented on issue #19269:
URL: https://github.com/apache/echarts/issues/19269#issuecomment-1793918531

   Looks like it's caused by the [import/namespace 
rule](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/namespace.md)
 as echarts.d.ts (for UMD module) re-exports `init$1` as `init`. You can 
disable this lint rule if you hope to import all modules, or use the 
recommended [on-demand 
import](https://echarts.apache.org/handbook/en/basics/import/#shrinking-bundle-size)
 in ECharts v5,  which has no such problem.
   
   ```ts
   import * as echarts from 'echarts/core'
   ```
   


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