plainheart commented on issue #20015: URL: https://github.com/apache/echarts/issues/20015#issuecomment-2160230811
You can explicitly specify the type of series array as `echarts.SeriesOption[]`. const sd: echarts.SeriesOption[] = [ { data: [150, 230, 224, 218, 135, 147, 260], type: 'line' } ]; -- 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-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org