throrin19 commented on issue #19992:
URL: https://github.com/apache/echarts/issues/19992#issuecomment-2516683648

   This is weird not to export directly types and do this. It works fine in 5.4 
:( 
   
   You can simplify your reexport and alias directly bi an `echarts.d.ts`file 
like this : 
   
   ```ts
   declare module 'echarts/core.js' {
       export * from 'echarts/types/src/export/core.d.ts';
   }
   declare module 'echarts/charts.js' {
       export * from 'echarts/types/src/export/charts.d.ts';
   }
   declare module 'echarts/components.js' {
       export * from 'echarts/types/src/export/components.d.ts';
   }
   declare module 'echarts/features.js' {
       export * from 'echarts/types/src/export/features.d.ts';
   }
   declare module 'echarts/option.js' {
       export * from 'echarts/types/src/export/option.d.ts';
   }
   declare module 'echarts/renderers.js' {
       export * from 'echarts/types/src/export/renderers.d.ts';
   }
   declare module 'echarts/api.js' {
       export * from 'echarts/types/src/export/api.d.ts';
   }
   ```


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