2025-04-23 09:34:08 +08:00

12 lines
329 B
TypeScript

export interface PositionInFile {
line: number;
col: number;
}
export interface LintError {
startPos: PositionInFile;
endPos: PositionInFile;
message: string;
}
export declare function errorComparator(err1: LintError, err2: LintError): number;
export declare function lintSyntaxError(message: string): Error;