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 2021/02/26 08:23:17 UTC

[GitHub] [echarts] pumpkinduan commented on issue #14358: 在echarts5.0.2 版本中,给option的series赋值,TS编译报错

pumpkinduan commented on issue #14358:
URL: https://github.com/apache/echarts/issues/14358#issuecomment-786489849


   > 看起来 data 多嵌套了一层数组?
   
   不是的,data是可以接受二维数组的,我把那个 {value: 2}这个成员去掉,就不会有ts的提示错误了,关键在于这个data只接受三种类型的值了:string | number | Date


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

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