diff options
Diffstat (limited to 'node_modules/tslint/lib/test/lintError.d.ts')
-rw-r--r-- | node_modules/tslint/lib/test/lintError.d.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/tslint/lib/test/lintError.d.ts b/node_modules/tslint/lib/test/lintError.d.ts new file mode 100644 index 000000000..c00b4b535 --- /dev/null +++ b/node_modules/tslint/lib/test/lintError.d.ts @@ -0,0 +1,12 @@ +import { Error } from "../error"; +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; |