Please just ignore this question. I realized that I had left echarts prepended to graphic, hence the error. Once I removed it the example compiles fine.
Cheers, Ole ---------- Forwarded message --------- From: Ole Ersoy <ole.er...@gmail.com> Date: Tue, Nov 22, 2022 at 7:58 PM Subject: Importing graphic in Typescript To: <dev@echarts.apache.org> Hi, I'm attempting to import graphic in Typescript. This is the demo. https://stackblitz.com/edit/angular-ivy-52drlo?file=src%2Fapp%2Fapp.component.ts This is the related SO question: https://stackoverflow.com/questions/74540403/importing-echarts-in-typescript The import produces the error: Error in src/app/app.component.ts (64:22) 'echarts' refers to a UMD global, but the current file is a module. Consider adding an import instead. Thoughts? TIA, Ole