react-apexcharts
react-apexcharts copied to clipboard
options has the wrong type
From the .d.ts file:
options?: object
If you try to create a component without the options object, you get the error at runtime that options is marked required.
It would also be nice to have that type spelled out explicitly rather than simply object. It would also be nice for series to be spelled out rather than Array<any>.
The chart renders fine with an empty options object. So perhaps the runtime check can be disabled for the option prop?