title: Typescript + Vite + Vue 3 syntax error not showing when component is called
body: <p>i have a problem with typescript in vue 3 with &quot;script setup (SFC)&quot;.
  When i call the component into (for example) App.vue and insert the props, if one of these is inserted wrong, the editor does not report the error.</p>
  <p>An example:</p>
  <p><a href="https://i.stack.imgur.com/nG2dT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nG2dT.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/PNtIn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PNtIn.jpg" alt="enter image description here" /></a></p>
  <p>The type value:</p>
  <pre><code>type Type = 'primary' | 'danger' | 'warning'
  </code></pre>
  <p>Why &quot;non&quot; type not showing error? I use PHPStorm, but this not showing also in VScode.</p>