UI for Zipcoin Blue

parse.d.ts 749B

12345678910111213141516
  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(code: string, lintErrors: LintError[]): string;