Skip to content
Permalink
1cdde3eb41
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
0 contributors

Users who have contributed to this file

15 lines (15 sloc) 767 Bytes
import { LintError } from "./lintError";
export declare function getTypescriptVersionRequirement(text: string): string | undefined;
export declare function getNormalizedTypescriptVersion(): string;
export declare function preprocessDirectives(text: string): string;
/**
* Takes the full text of a .lint file and returns the contents of the file
* with all error markup removed
*/
export declare function removeErrorMarkup(text: string): string;
/**
* Takes the full text of a .lint file and returns an array of LintErrors
* corresponding to the error markup in the file.
*/
export declare function parseErrorsFromMarkup(text: string): LintError[];
export declare function createMarkupFromErrors(fileName: string, code: string, lintErrors: LintError[]): string;