title: Vue 3 Typescript not assignable to type ‘[]‘
body: <p>I am trying to set the type of my array in my data properties like this:</p>
  <pre><code>const Projects = defineComponent({
    data: () =&gt; ({
      issues: [] as IssueType[]
    }),
  </code></pre>
  <p>I am calling this method which filters the array:</p>
  <pre><code>getIssues(projectId: number, label: string): [] {
    return this.issues.filter(
      issue =&gt; issue.project_id === projectId &amp;&amp; issue.labels?.includes(label)
    );
  </code></pre>
  <p>But Typescript returns me following error:</p>
  <pre><code>&gt; Type 'IssueType[]' is not assignable to type '[]'.   Types of property
  &gt; 'length' are incompatible.
  &gt;     Type 'number' is not assignable to type '0'.
  </code></pre>