title: React-Query useMutation: is not assignable to parameter of type "mutationkey"
body: <p>I have api call that looks like</p>
  <pre><code>const getMutationService = () =&gt; {
    return {
      createMeme: async (
        _private: string,
        templateId: string,
        file: Blob,
        memeText?: string,
        title?: string,
        tags?: Array&lt;string&gt;,
      ): Promise&lt;MemeCreateMemeResponse | undefined&gt; =&gt; {
        return await memeApi.memePost({
          _private,
          templateId,
          file,
          memeText,
          title,
          tags,
        });
      },
    };
  };
  </code></pre>
  <p>and I am calling this in another hook like</p>
  <pre><code>const mutationService = getMutationService();
  
  
  
   const { mutate: createMeme } = useMutation(mutationService.createMeme);
  </code></pre>
  <p>Its throwing an error of</p>
  <blockquote>
  <p>Argument of type '(_private: string, templateId: string, file: Blob, memeText?: string, title?: string, tags?: Array) =&gt; Promise&lt;MemeCreateMemeResponse | undefined&gt;' is not assignable to parameter of type 'MutationKey'.</p>
  </blockquote>
  <p>I have done other mutation calls with the same pattern. Why is this one throwing this mutation key error?
  Confused</p>