lintError.d.ts 329B

123456789101112
  1. export interface PositionInFile {
  2. line: number;
  3. col: number;
  4. }
  5. export interface LintError {
  6. startPos: PositionInFile;
  7. endPos: PositionInFile;
  8. message: string;
  9. }
  10. export declare function errorComparator(err1: LintError, err2: LintError): number;
  11. export declare function lintSyntaxError(message: string): Error;