title: Nuxt3 using typescript with useFetch and transform option
body: <p>I'm using <code>useFetch</code> to fetch an array of strings <code>string[]</code> with the <code>transform</code> option to transform it from array to object.</p>
  <p>I tried  the code below:</p>
  <pre class="lang-js prettyprint-override"><code>type ReceivedData = [string, string, string];
  
  interface TransformedData {
      prop1: string,
      prop2: string,
      prop3: string
  }
  
  const { data, error } = await useFetch&lt;ReceivedData&gt;(
      `./jsonPath.json`,
      {
        transform: ([prop1, prop2, prop3]: ReceivedData): TransformedData  =&gt; ({
           prop1, prop2, prop3
        })
      }
  );
  </code></pre>
  <p>I'm getting this error</p>
  <p><code>Type '([prop1, prop2, prop3]: ReceivedData) =&gt; TransformedData' is not assignable to type '(res: ReceivedData) =&gt; ReceivedData'.</code></p>
  <p>I pretty sure I'm messing something here, but Typescript is expecting the transform method to return the same data type it receives.</p>