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/02/21 07:09:49 UTC

[GitHub] [echarts] qq1063823095 opened a new issue #16551: [Bug] GraphEdgeItemOption 没有导出

qq1063823095 opened a new issue #16551:
URL: https://github.com/apache/echarts/issues/16551


   ### Version
   
   4.5.5
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   代码如下:
   import { GraphEdgeItemOption } from 'echarts'
   
   
   vscode提示如下:
   模块“"echarts"”没有导出的成员“GraphEdgeItemOption”。ts(2305)
   
   ### Current Behavior
   
   无法使用GraphEdgeItemOption类型,因为它没有导出
   
   ### Expected Behavior
   
   我希望可以在我代码中使用GraphEdgeItemOption类型作为自己代码中的类型的限定
   
   ### Environment
   
   ```markdown
   - OS:win10
   - Browser: Edge
   - Framework:
   ```
   
   
   ### 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

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] qq1063823095 commented on issue #16551: [Bug] GraphEdgeItemOption 没有导出

Posted by GitBox <gi...@apache.org>.
qq1063823095 commented on issue #16551:
URL: https://github.com/apache/echarts/issues/16551#issuecomment-1046551856


   目前我通过以下代码来实现了我的需求:
   var tempGSO = { links: [] } as GraphSeriesOption
   type GraphEdgeItemOption = NonNullable<typeof tempGSO.links>[0]
   
   但我认为这不是最有效的办法


-- 
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] qq1063823095 edited a comment on issue #16551: [Bug] GraphEdgeItemOption 没有导出

Posted by GitBox <gi...@apache.org>.
qq1063823095 edited a comment on issue #16551:
URL: https://github.com/apache/echarts/issues/16551#issuecomment-1046551856


   目前我通过以下代码来实现了我的需求:
   
   ```
   var tempGSO = { links: [] } as GraphSeriesOption
   type GraphEdgeItemOption = NonNullable<typeof tempGSO.links>[0]
   ```
   
   
   但我认为这不是最有效的办法


-- 
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] qq1063823095 edited a comment on issue #16551: [Bug] GraphEdgeItemOption 没有导出

Posted by GitBox <gi...@apache.org>.
qq1063823095 edited a comment on issue #16551:
URL: https://github.com/apache/echarts/issues/16551#issuecomment-1046551856


   目前我通过以下代码来实现了我的需求:
   ``
   var tempGSO = { links: [] } as GraphSeriesOption
   type GraphEdgeItemOption = NonNullable<typeof tempGSO.links>[0]
   ```
   
   但我认为这不是最有效的办法


-- 
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] echarts-bot[bot] commented on issue #16551: [Bug] GraphEdgeItemOption 没有导出

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


   @qq1063823095 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] GraphEdgeItemOption is not exported
   
   **BODY**
   
   ### Version
   
   4.5.5
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   code show as below:
   import { GraphEdgeItemOption } from 'echarts'
   
   
   The vscode prompt is as follows:
   Module ''echarts'' has no exported member 'GraphEdgeItemOption'. ts(2305)
   
   ### Current Behavior
   
   Cannot use type GraphEdgeItemOption because it is not exported
   
   ### Expected Behavior
   
   I want to be able to use the GraphEdgeItemOption type in my code as a type of qualification in my code
   
   ### Environment
   
   ````markdown
   - OS: win10
   - Browser: Edge
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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