.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / tslint / lib / verify / parse.d.ts
1 import { LintError } from "./lintError";
2 export declare function getTypescriptVersionRequirement(text: string): string | undefined;
3 export declare function getNormalizedTypescriptVersion(): string;
4 export declare function preprocessDirectives(text: string): string;
5 /**
6  * Takes the full text of a .lint file and returns the contents of the file
7  * with all error markup removed
8  */
9 export declare function removeErrorMarkup(text: string): string;
10 /**
11  * Takes the full text of a .lint file and returns an array of LintErrors
12  * corresponding to the error markup in the file.
13  */
14 export declare function parseErrorsFromMarkup(text: string): LintError[];
15 export declare function createMarkupFromErrors(fileName: string, code: string, lintErrors: LintError[]): string;