title: What is type of graphql refetch when passing as props?
body: <p>I am passing graphql <code>refetch</code> to component as props, but I am not sure what should be the type?</p>
  <pre><code>const { data, loading, refetch } = useQuery(gqlquery, {
          variables: { where: { id: id } },
      });
  
  </code></pre>
  <pre><code>  &lt;myinfo
       loading={loading}
       data={data}
       refetch={refetch}
     /&gt;
  
  </code></pre>
  <pre><code>export const myinfo= ({
      refetch,
      loading,
      data,
  }: myinfoProps) =&gt; {}
  
  </code></pre>
  <pre><code>
  type myinfoProps= {
      refetch?: any;
      loading: boolean;
      data: {}
  };
  </code></pre>
  <p>I want to remove <code>any</code> from <code> refetch?: any;</code> what should be there instead of.</p>