Check selected files with TypeScript
check_typesRun TypeScript compiler diagnostics on selected JavaScript or TypeScript files using local project settings and declarations to catch type errors before runtime.
Instructions
Return TypeScript compiler diagnostics for selected JavaScript/TypeScript files. Uses the full local project's declarations and settings, but reports selected files only. No model, emit, plugins or project code execution. Without a config, uses inferred null checking with JS checking. Reports skipped files, incomplete context and limits; no diagnostics is not proof of runtime safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Absolute paths of up to 20 files in one project | |
| project | No | Explicit tsconfig.json/jsconfig.json path; otherwise discovered |