pissang opened a new pull request #15271:
URL: https://github.com/apache/echarts/pull/15271


   <!-- 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?
   
   This PR mainly focuses on fixing types in custom series. It includes:
   
   1. Add missing `dataIndex` and other properties in the `params` of 
`renderItem`
   2. Better return type inferring of `renderItem`. Now it will provide a 
precise `shape`, `style` type checking based on the type of element.
   3. More precise type in the methods of `apiDuring`. Remove `unknown` type in 
transform, style, shape getter/setter.
   
   This PR also updated typescript version to the latest and fix some 
properties are not optional.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to