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/09/05 07:33:01 UTC

[GitHub] [echarts] han-ysys commented on issue #17615: [Bug] Property 'renderToSVGString' does not exist on type 'EChartsType'.

han-ysys commented on issue #17615:
URL: https://github.com/apache/echarts/issues/17615#issuecomment-1236640318

   The code itself works. It does give SVG strings. But IDE keeps whining about type errors.
   
   After several tries with different IDE and typescript versions(4.1.6 and 4.7.3), somehow all reach an agreement. If you are interested, what I did is open the project with Webstorm, find no complaints about 'renderToSVGString', and then go back to VSCode. I noticed VScode was using TS 4.7.3 while Webstorm was using 4.1.6. So I switched it to 4.1.6. Everything goes fine now. The thing is if I switch it back to TS 4.7.3, it won't report any error.
   
   It seemed to be just something wrong with my environment. Sorry to bother you all. Thank you!


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