vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.55k stars 373 forks source link

`vue-tsc` tries to analyze non-ts blocks #4433

Open ofekd opened 3 weeks ago

ofekd commented 3 weeks ago

I use vleam to write Gleam code in SFCs instead of TS.

When running vue-tsc for type check, vue-tsc tries analyzing <script lang="gleam"> blocks, resulting in many irrelevant type errors.

Expected behavior is to skip analyzing them, and only analyze TS code.