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

2.0.14 • 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

/vue-tsc/

    Package Sidebar

    Install

    npm i vue-tsc

    Weekly Downloads

    1,364,037

    Version

    2.0.14

    License

    MIT

    Unpacked Size

    4.94 kB

    Total Files

    6

    Last publish

    Collaborators

    • johnsoncodehk