Syntax error structure as reported by parser.
This interface represents parsing errors detected during AST creation. These errors can be real syntax errors or false positives that need filtering.
const error: ParserSyntaxError = { message: 'Cannot find module "@shared/utils"', line: 5, column: 25, code: 'TS2307', file: 'src/app/user/user.component.ts'}; Copy
const error: ParserSyntaxError = { message: 'Cannot find module "@shared/utils"', line: 5, column: 25, code: 'TS2307', file: 'src/app/user/user.component.ts'};
Optional
Optional TypeScript error code (e.g., 'TS2307', 'TS2339')
1-based column number where error occurred
Optional file path where error occurred
1-based line number where error occurred
Error message from parser
Syntax error structure as reported by parser.
This interface represents parsing errors detected during AST creation. These errors can be real syntax errors or false positives that need filtering.
Example