ApiIncrementalChecker.d.ts 1011 B

123456789101112131415161718
  1. import * as ts from 'typescript';
  2. import { IncrementalCheckerInterface, IncrementalCheckerParams } from './IncrementalCheckerInterface';
  3. import { CancellationToken } from './CancellationToken';
  4. import { CompilerHost } from './CompilerHost';
  5. export declare class ApiIncrementalChecker implements IncrementalCheckerInterface {
  6. protected readonly tsIncrementalCompiler: CompilerHost;
  7. protected readonly typescript: typeof ts;
  8. private currentEsLintErrors;
  9. private lastUpdatedFiles;
  10. private lastRemovedFiles;
  11. private readonly eslinter;
  12. constructor({ typescript, programConfigFile, compilerOptions, eslinter, vue, checkSyntacticErrors, resolveModuleName, resolveTypeReferenceDirective }: IncrementalCheckerParams);
  13. hasEsLinter(): boolean;
  14. isFileExcluded(filePath: string): boolean;
  15. nextIteration(): void;
  16. getTypeScriptIssues(): Promise<import("./issue/Issue").Issue[]>;
  17. getEsLintIssues(cancellationToken: CancellationToken): Promise<import("./issue/Issue").Issue[]>;
  18. }