kewp commented on issue #19064:
URL: https://github.com/apache/echarts/issues/19064#issuecomment-1725002488

   In fact, I'm still getting an error on the function as well:
   
   ```
   Type '{ trigger: "axis"; axisPointer: { type: "shadow"; }; formatter: 
(params: CallbackDataParams) => string | 
TooltipFormatterCallback<TopLevelFormatterParams> | undefined; }' is not 
assignable to type 'TooltipOption | TooltipOption[] | undefined'.
     Types of property 'formatter' are incompatible.
       Type '(params: CallbackDataParams) => string | 
TooltipFormatterCallback<TopLevelFormatterParams> | undefined' is not 
assignable to type 'string | TooltipFormatterCallback<TopLevelFormatterParams> 
| undefined'.
         Type '(params: CallbackDataParams) => string | 
TooltipFormatterCallback<TopLevelFormatterParams> | undefined' is not 
assignable to type 'TooltipFormatterCallback<TopLevelFormatterParams>'.
           Types of parameters 'params' and 'params' are incompatible.
             Type 'TopLevelFormatterParams' is not assignable to type 
'CallbackDataParams'.
               Type 'CallbackDataParams[]' is missing the following properties 
from type 'CallbackDataParams': componentType, componentSubType, 
componentIndex, name, and 4 more.ts(2322)
   (property) EChartsOption.tooltip?: TooltipComponentOption | 
TooltipComponentOption[] | undefined
   ```


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