mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
24 lines
983 B
TypeScript
24 lines
983 B
TypeScript
import * as ts from 'typescript';
|
|
import { CancellationToken } from './CancellationToken';
|
|
import { ResolveTypeReferenceDirective, ResolveModuleName } from './resolution';
|
|
import { createEslinter } from './createEslinter';
|
|
import { Issue } from './issue';
|
|
import { VueOptions } from './types/vue-options';
|
|
export interface IncrementalCheckerInterface {
|
|
nextIteration(): void;
|
|
hasEsLinter(): boolean;
|
|
getTypeScriptIssues(cancellationToken: CancellationToken): Promise<Issue[]>;
|
|
getEsLintIssues(cancellationToken: CancellationToken): Promise<Issue[]>;
|
|
}
|
|
export interface IncrementalCheckerParams {
|
|
typescript: typeof ts;
|
|
context: string;
|
|
programConfigFile: string;
|
|
compilerOptions: ts.CompilerOptions;
|
|
eslinter: ReturnType<typeof createEslinter> | undefined;
|
|
checkSyntacticErrors: boolean;
|
|
resolveModuleName: ResolveModuleName | undefined;
|
|
resolveTypeReferenceDirective: ResolveTypeReferenceDirective | undefined;
|
|
vue: VueOptions;
|
|
}
|