@vuedx/typecheck

TypeScript plugin for Vue

Usage no npm install needed!

<script type="module">
  import vuedxTypecheck from 'https://cdn.skypack.dev/@vuedx/typecheck';
</script>

README

TypeCheck for Vue

A command line tool to check types, functionally equivalent to tsc --noEmit but supports Vue.

Support

This package is part of VueDX project, maintained by Rahul Kadyan. You can 💖 sponsor him for continued development of this package and other VueDX tools.

Usage

Run npx @vuedx/typecheck to quickly type check your Vue project, or install and use vuedx-typecheck binary.

Install

npm i @vuedx/typecheck --save-dev

Options

Run vuedx-typecheck --help to see all available options:

Usage: vuedx-typecheck [directory] <options>

Options
    --format    One of 'raw', 'json' or 'rdjson'
    --vue       process only vue files
    --no-pretty Pretty print output
    --help      display help
    --watch     Watch files for changes