Detailed compilation diagnostics for error analysis and correction.
Contains comprehensive information about compilation errors, warnings, and suggestions that occurred during the TypeScript compilation process. Each diagnostic includes file location, error category, diagnostic codes, and detailed messages that enable AI agents to understand and resolve specific compilation issues.
Discriminator indicating compilation failure.
Compilation failure with detailed diagnostic information and partial output.
Represents cases where TypeScript compilation encountered errors or warnings that prevent successful code generation. This result provides comprehensive diagnostic information to enable AI agents to understand specific issues and implement targeted corrections through the iterative refinement process.