title: Object is of type 'unknown'.Vetur(2571) when populating a constant in TypeScript using Apollo
body: <p>I am using the useQuery (from Apollo) to fetch data as follows:</p>
  <pre><code>const {
    result: fetchedResources,
    loading: fetchResourcesLoading,
    refetch: fetchResources,
    onError: apiError
  } = useQuery(GET_RESOURCES, { limit: numberOfResults.value })
  </code></pre>
  <p>I use <code>fetchedResources</code> in a v-for to loop over data:</p>
  <pre><code>  &lt;router-link
      v-for=&quot;resource in fetchedResources.resources&quot;
      :key=&quot;resource.id&quot;
      class=&quot;resource q-mb-md items-center text-black&quot;
      tag=&quot;div&quot;
    &gt;
  ...
  </code></pre>
  <p>Any time I use <code>resource</code> I get the following error in Visual Studio:</p>
  <pre><code>Object is of type 'unknown'.Vetur(2571)
  </code></pre>
  <p>I assume the issue is I need to declare the type in the constant for each of the populate variables. Any ideas how to resolve this?</p>