You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
武俊涛 5321b9e72d 生成 10 months ago
..
bin 生成 10 months ago
out 生成 10 months ago
LICENSE 生成 10 months ago
README.md 生成 10 months ago
package.json 生成 10 months ago

README.md

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:

  • Type-Checking with --noEmit
  • Use released LSP module
  • Make typescript as peerDependencies
  • Cleaner dependencies (remove prettyhtml, prettier etc.) (with vscode-vue-languageservice version >= 0.26.4)
  • dts emit support
  • 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