johnsoncodehk / vue-tsc

vue-tsc --noEmit && vite build
https://www.npmjs.com/package/vue-tsc
MIT License
241 stars 6 forks source link

Importing types causes error "TS2693" in `.vue` files #54

Closed sto3psl closed 3 years ago

sto3psl commented 3 years ago

With the release of vue@3.2 they added a feature where <script setup> won't expose types to the template.

support non-explicit type imports in Githubissues.

  • Githubissues is a development platform for aggregating issues.