Angular: template errors
ng_template_diagnosticsGet Angular compiler errors for template files after edits. Accepts .html/.ts files singly or in batches, returning diagnostics grouped per file.
Instructions
Angular compiler errors for a template after an edit. Accepts .html or .ts; files checks a batch. An entry anchored in the companion file names it in file. An empty list means "no errors" only when the server is healthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to the template or to the component | |
| files | No | Batch of up to 20 templates; the answer groups diagnostics per file |