-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Expected behavior
There should be no TypeScript error.
Current behavior
There is this error even though the code runs fine:
Property 'r' is missing in type '{ x: number; y: number; }' but required in type 'BubbleDataPoint'.
Reproducible sample
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
If I leave out the type ChartData<'bubble'> for the variable data, there is no error. However, I lose the implicit type information for the ctx parameter of the radius function so I don't view this as a valid solution.
chart.js version
v4.4.0
Browser name and version
No response
Link to your project
No response