You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's not possible to pass readonly arrays for chart data, legends and other props that aren't mutated.
Describe the solution you'd like
Types should use readonly where appropriate:
That's indeed a really good idea, I had issues achieving this due to D3 typings, because D3 often mutates data, so the lib would have to handle what currently has to be done in user space.
Is your feature request related to a problem? Please describe.
It's not possible to pass readonly arrays for chart data, legends and other props that aren't mutated.
Describe the solution you'd like
Types should use
readonly
where appropriate:Describe alternatives you've considered
N/A
Additional context
This has 2 benefits:
The text was updated successfully, but these errors were encountered: