title: Problem with typescript while making request to SWR
body: <p>I want to know what is the type of this args that is being passed to my function below</p>
  <pre><code>const fetcher = async (...args) =&gt; {                                
  ~_  0   const res = await fetch(...args);                                                                       
      1                                            
  ~   2   return res.json();                                                                                      
      3 };  
  </code></pre>
  <p>This is my fetcher function for SWR, and this is the error I'm getting</p>
  <pre><code>[tsserver 2556] [E] Expected 1-2 arguments, but got 0 or more.
  </code></pre>
  <p>SWR hook</p>
  <pre><code>const { error, data } = useSWR(`/api/albums/list/${user.id}`, fetcher)
  </code></pre>