title: There is a type error in the useSWR token delivery part
body: <p>This error occurs after typescript is updated and the type is strict.</p>
  <pre><code>
  
      const token = 'aaa'
      const fetchWithToken = (url: string, token: string) =&gt; 
      axios.get(url, {
              headers: {
                  Authorization: `Bearer ${token}`,
              },
              withCredentials: true 
          })
          .then(result =&gt; result.data);
  
   const { data: ProductDetail } = useSWR&lt;ProductInfo&gt;([`/goods?lim=8`, token], fetchWithToken, {
          dedupingInterval: 1000000,
      }) 
  </code></pre>
  <p>After declaring the ProductInfo type, I put token and fetchWithToken functions in the api.</p>
  <p>but ([<code>/goods?lim=8</code>, token], fetchWithToken, {
  dedupingInterval: 1000000,
  })
  Here's the error with a red underline.</p>
  <pre><code>Argument of type '[string[], (url: string, token: string) =&gt; Promise&lt;unknown&gt;, { dedupingInterval: number; }]' is not assignable to parameter of type 'readonly [Key] | readonly [Key, Fetcher&lt;ProductInfo&gt; | null] | readonly [Key, Partial&lt;PublicConfiguration&lt;ProductInfo, any, Fetcher&lt;ProductInfo&gt;&gt;&gt; | undefined] | readonly [...]'.
    Type '[string[], (url: string, token: string) =&gt; Promise&lt;unknown&gt;, { dedupingInterval: number; }]' is not assignable to type 'readonly [Key, Fetcher&lt;ProductInfo&gt; | null, Partial&lt;PublicConfiguration&lt;ProductInfo, any, Fetcher&lt;ProductInfo&gt;&gt;&gt; | undefined]'.
      Type at position 1 in source is not compatible with type at position 1 in target.
        Type 'Promise&lt;unknown&gt;' is not assignable to type 'ProductInfo | Promise&lt;ProductInfo&gt;'.
          Type 'Promise&lt;unknown&gt;' is not assignable to type 'Promise&lt;ProductInfo&gt;'.
            Type 'unknown' is not assignable to type 'ProductInfo'.ts(2345)
  
  </code></pre>
  <p>I couldn't solve this problem, so I tried removing the ProductInfo type, but ProductDetail is not
  It is output as an unknown value.</p>
  <p>how can i solve it?
  I do not know.</p>