1 | import * as ts from 'typescript';
|
2 | import { CancellationToken } from './CancellationToken';
|
3 | import { IncrementalCheckerInterface, IncrementalCheckerParams } from './IncrementalCheckerInterface';
|
4 | import { Issue } from './issue';
|
5 | export declare class IncrementalChecker implements IncrementalCheckerInterface {
|
6 | private files;
|
7 | protected program?: ts.Program;
|
8 | protected programConfig?: ts.ParsedCommandLine;
|
9 | private readonly typescript;
|
10 | private readonly programConfigFile;
|
11 | private readonly compilerOptions;
|
12 | private readonly eslinter;
|
13 | private readonly vue;
|
14 | private readonly checkSyntacticErrors;
|
15 | private readonly resolveModuleName;
|
16 | private readonly resolveTypeReferenceDirective;
|
17 | constructor({ typescript, programConfigFile, compilerOptions, eslinter, vue, checkSyntacticErrors, resolveModuleName, resolveTypeReferenceDirective }: IncrementalCheckerParams);
|
18 | static loadProgramConfig(typescript: typeof ts, configFile: string, compilerOptions: object): ts.ParsedCommandLine;
|
19 | private static createProgram;
|
20 | hasEsLinter(): boolean;
|
21 | static isFileExcluded(filePath: string): boolean;
|
22 | nextIteration(): void;
|
23 | private loadVueProgram;
|
24 | private loadDefaultProgram;
|
25 | getTypeScriptIssues(cancellationToken: CancellationToken): Promise<Issue[]>;
|
26 | getEsLintIssues(cancellationToken: CancellationToken): Promise<Issue[]>;
|
27 | }
|