You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/11/08 07:11:04 UTC

[GitHub] [echarts] keita-determined opened a new issue, #17888: [Bug] `ECElementEvent` is not exportable

keita-determined opened a new issue, #17888:
URL: https://github.com/apache/echarts/issues/17888

   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Enable Typescript
   2. Create mouse event click like `chart.on('click', (param) => console.log(param));`
   3. on VS Code or other editor, when hover the cursor on `param`, it suggests `ECElementEvent`
   4. However, cannot use  `ECElementEvent` since it is not exported
   
   ### Current Behavior
   
   When trying to export `ECElementEvent` like `import type { ECElementEvent } from 'echarts'`, there is an following error 
   
   `'"echarts"' has no exported member named 'ECElementEvent'. Did you mean 'ElementEvent'?ts(2724)`
   
   ### Expected Behavior
   
   `ECElementEvent` should be exported without error.
   
   ### Environment
   
   ```markdown
   - OS: MacOS
   - Browser: Firefox
   - Framework: React + Typescript
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #17888: [Bug] `ECElementEvent` is not exportable for Typescript

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17888:
URL: https://github.com/apache/echarts/issues/17888#issuecomment-1307287411

   This issue is labeled with `difficulty: easy`.
   @keita-determined Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart closed issue #17888: [Bug] `ECElementEvent` is not exportable for Typescript

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #17888: [Bug] `ECElementEvent` is not exportable for Typescript
URL: https://github.com/apache/echarts/issues/17888


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org