hemisu opened a new pull request, #17069: URL: https://github.com/apache/echarts/pull/17069
…elOption <!-- Please fill in the following information to help us review your PR more efficiently. --> ## Brief Information This pull request is in the type of: - [x] bug fixing - [ ] new feature - [ ] others ### What does this PR do? <!-- USE ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. --> add type case and fix type error ### Fixed issues <!-- - #xxxx: ... --> - #16953 ## Details ### Before: What was the problem? https://codesandbox.io/s/echarts-types-error-j0gkfr?file=/src/index.ts <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> <img width="803" alt="image" src="https://user-images.githubusercontent.com/11391390/169265608-fcb92fee-6414-46f9-afc4-fb1ea223c974.png"> ### After: How is it fixed in this PR? <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> merge and update to latest version(~5.3.3) maybe :D <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> ## Misc <!-- ADD RELATED ISSUE ID WHEN APPLICABLE --> ### Related test cases or examples to use the new APIs N.A. ## Others ### Merging options - [x] Please squash the commits into a single one when merging. ### Other information -- 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