GoScrobble/web/node_modules/fork-ts-checker-webpack-plugin/lib/ApiIncrementalChecker.d.ts

19 lines
1011 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import * as ts from 'typescript';
import { IncrementalCheckerInterface, IncrementalCheckerParams } from './IncrementalCheckerInterface';
import { CancellationToken } from './CancellationToken';
import { CompilerHost } from './CompilerHost';
export declare class ApiIncrementalChecker implements IncrementalCheckerInterface {
protected readonly tsIncrementalCompiler: CompilerHost;
protected readonly typescript: typeof ts;
private currentEsLintErrors;
private lastUpdatedFiles;
private lastRemovedFiles;
private readonly eslinter;
constructor({ typescript, programConfigFile, compilerOptions, eslinter, vue, checkSyntacticErrors, resolveModuleName, resolveTypeReferenceDirective }: IncrementalCheckerParams);
hasEsLinter(): boolean;
isFileExcluded(filePath: string): boolean;
nextIteration(): void;
getTypeScriptIssues(): Promise<import("./issue/Issue").Issue[]>;
getEsLintIssues(cancellationToken: CancellationToken): Promise<import("./issue/Issue").Issue[]>;
}