brianlagunas commented on issue #21250: URL: https://github.com/apache/echarts/issues/21250#issuecomment-3569008680
I have the same issue. first install: ``` npm install echarts ``` then import to use: ``` import * as echarts from 'echarts'; ``` Error: ``` error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export. ``` However, even with that flag it doesn't work -- 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]
