has_errors
Determine if TypeScript errors exist in your project or a specific file. Returns a boolean result for fast validation.
Instructions
Quick boolean check if there are any TypeScript errors. Optionally check a specific file. Extremely fast - use this before full diagnostic queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Optional: Path to specific file to check |