24 lines
359 B
Markdown
24 lines
359 B
Markdown
|
|
# /type-check Command
|
||
|
|
|
||
|
|
Run TypeScript type checking on the project.
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```
|
||
|
|
/type-check
|
||
|
|
```
|
||
|
|
|
||
|
|
## What This Command Does
|
||
|
|
|
||
|
|
1. Runs `vue-tsc --noEmit` to check TypeScript types
|
||
|
|
2. Reports type errors with file locations and line numbers
|
||
|
|
3. Helps catch type issues before build
|
||
|
|
|
||
|
|
## Example
|
||
|
|
|
||
|
|
```
|
||
|
|
/type-check
|
||
|
|
```
|
||
|
|
|
||
|
|
Checks all TypeScript files for type errors.
|