title: Binding element 'param' implicitly has an 'any' type
body: <p>I got the <strong>implicitly 'any type'</strong> with React Typescript when building a generate data function (for the chart). So, what type it should be?  My code is:</p>
  <pre><code>interface dataType {
    label: string;
    topic: {
      A: number[];
      B?: number[];
      C?: number[];
    };
  }
  
  const generateData = ({ inputData }:dataType) =&gt; {
    return {
      labels: inputData.label,
      datasets: [
        {
          label: &quot;A&quot;,
          data: inputData.topic.A,
          borderColor: &quot;black&quot;,
          backgroundColor: &quot;blue&quot;,
        },
        {
          label: &quot;B&quot;,
          data: inputData.topic.B,
          borderColor: &quot;black&quot;,
          backgroundColor: &quot;blue&quot;,
        },
        {
          label: &quot;C&quot;,
          data: inputData.topic.C,
         borderColor: &quot;black&quot;,
          backgroundColor: &quot;blue&quot;,
        },
      ],
    };
  };
  </code></pre>
  <p>Thank you in advanced</p>