vue-tsc
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

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:

  • [x] Type-Checking with --noEmit
  • [x] Use released LSP module
  • [x] Make typescript as peerDependencies
  • [x] Cleaner dependencies (remove prettyhtml, prettier etc.) (with vscode-vue-languageservice version >= 0.26.4)
  • [x] dts emit support
  • [x] Watch mode support

Usage

Type check:

vue-tsc --noEmit

Build dts:

vue-tsc --declaration --emitDeclarationOnly

Check out https://github.com/vuejs/language-tools/discussions/640#discussioncomment-1555479 for example repo.

Sponsors

Readme

Keywords

none

Package Sidebar

Install

npm i vue-tsc

Weekly Downloads

968,194

Version

2.0.7

License

MIT

Unpacked Size

5.59 kB

Total Files

6

Last publish

Collaborators

  • johnsoncodehk