$ gnpm install vue-tsc
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:
--noEmit
typescript
as peerDependenciesprettyhtml
, prettier
etc.) (with vscode-vue-languageservice
version >= 0.26.4)Type check:
vue-tsc --noEmit
Build dts:
vue-tsc --declaration --emitDeclarationOnly
Check out https://github.com/johnsoncodehk/volar/discussions/640#discussioncomment-1555479 for example repo.
Copyright 2013 - present © cnpmjs.org | Home |