title: What is the correct TypeScript type for a Quasar q-file element?
body: <p>I have a <code>q-file</code> with a template ref, it looks like this:</p>
  <pre><code>&lt;q-file
    ref=&quot;myFile&quot;
    v-model=&quot;image&quot;
    @update:model-value=&quot;imageUpdate&quot;
  /&gt;
  </code></pre>
  <p>Here is the ref (with my best guess at giving it a type):</p>
  <pre><code>const myFile: Ref&lt;HTMLInputElement | undefined&gt; = ref(undefined);
  </code></pre>
  <p>But when I use this I get a TypeScript error:</p>
  <pre><code>myFile.value.pickFiles();
  </code></pre>
  <p>This is the error:</p>
  <pre><code>Property 'pickFiles' does not exist on type 'HTMLInputElement'.ts(2339)
  </code></pre>
  <p>So I assume <code>HTMLInputElement</code> is the wrong type.</p>
  <p>What is the correct type for <code>q-file</code>?</p>
  <p>If there is no type, how do I create one?</p>