get_diagnostics
Identify and resolve TypeScript errors and warnings in a single file, specifying root directory and file path for accurate diagnostics.
Instructions
Get TypeScript diagnostics (errors, warnings) for a single file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | File path to check for diagnostics (relative to root) | |
root | Yes | Root directory for resolving relative paths | |
virtualContent | No | Virtual content to use for diagnostics instead of file content |