Install: npm i vue-tsc -D
Usage: vue-tsc --noEmit && vite build
Vue 3 command line Type-Checking tool base on IDE plugin Volar.
Roadmap:
- Type-Checking with
--noEmit
- Use released LSP module
- Make
typescript
as peerDependencies - Cleaner dependencies (remove
prettyhtml
,prettier
etc.) (withvscode-vue-languageservice
version >= 0.26.4) - dts emit support
- Watch mode support
Type check:
vue-tsc --noEmit
Build dts:
vue-tsc --declaration --emitDeclarationOnly
Check out #640 (reply in thread) for example repo.