title: How to define type for ref(binding on template) In Vue3, using TypeScript?
body: <p>Template:</p>
  <pre><code>&lt;tremplate&gt;
    &lt;div ref=&quot;element&quot;&gt;&lt;/div&gt;
  &lt;/template&gt;
  </code></pre>
  <p>Script:</p>
  <pre><code>export default {
    setup() {
      const element = ref(null);
      return {
        element,
      };
    },
  };
  </code></pre>
  <p>This is a normal way to define a ref in vue3, but in JavaScript way.
  And if I'm using TypeScript, I will need to define a type for value <code>element</code>, right?</p>
  <p>How do I do to ensure the correct type for value <code>element</code>?</p>