title: React Apexcharts not working with Typescript
body: <p>I'm trying to implement a simple ApexChart on a React/Typescript project, however, I'm stuck on the following type error:</p>
  <pre>
  No overload matches this call.
    Overload 1 of 2, '(props: Props | Readonly): ReactApexChart', gave the following error.
      Type '{ chart: { height: ApexOptions; type: ApexOptions; zoom: { enabled: ApexOptions; }; }; }' is not assignable to type 'ApexOptions'.
        The types of 'chart.height' are incompatible between these types.
          Type 'ApexOptions' is not assignable to type 'string | number | undefined'.
            Type 'ApexOptions' is not assignable to type 'number'.
    Overload 2 of 2, '(props: Props, context: any): ReactApexChart', gave the following error.
      Type '{ chart: { height: ApexOptions; type: ApexOptions; zoom: { enabled: ApexOptions; }; }; }' is not assignable to type 'ApexOptions'.
  </pre>
  <p>I did install both <code>react-apexcharts</code> and <code>apexcharts</code>, as usual.
  Here's the script of my chart:</p>
  <p><strong>TasksChart.tsx</strong></p>
  <pre><code>import ReactApexChart from 'react-apexcharts';
  
  const TasksChart: React.FC&lt;Props&gt; = ({
  tasks,
  }) =&gt; {
  
    const options = {
      chart: {
        height: 350,
        type: 'line',
        zoom: {
          enabled: true
        }
      },
    };
  
    series = [{
      name: 'All Tasks',
      data: [31, 40, 28, 51, 42, 109, 100]
    }, {
      name: 'My Tasks',
      data: [11, 32, 45, 32, 34, 52, 41]
    }]
  
    return (
      &lt;&gt;
        &lt;ReactApexChart options={options} series={series} type=&quot;line&quot; height={350} /&gt;
      &lt;/&gt;
    );
  };
  
  export default TasksChart;
  </code></pre>
  <p>Any thoughts on how to fix this issue? Thanks!</p>