title: How to manually define props type in vue3 with typescript
body: <p>I can do</p>
  <pre><code>defineComponent({
    props: {
      name: { type: String as PropType&lt;string&gt; }
    }
  })
  </code></pre>
  <p>to tell vue3 that my <code>props</code> type is <code>{ name: string }</code>, but if I have several component have the same props type, how can I share the defination?</p>
  <p>If I define props in :</p>
  <pre><code>const props = {
    name: String as PropType&lt;string&gt;
  }
  </code></pre>
  <p>then use it like this:</p>
  <pre><code>defineComponent({
    props: props,
  })
  </code></pre>
  <p>It won't work, the type I got in setup function of props is not right.</p>