保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 26a09f08cf1ed43c640879f23fdad56c5c9282f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type * as ts from 'typescript';
import { Issue } from '../../issue';
import { FilesMatch } from '../../reporter';
interface TypeScriptHostExtension {
    extendWatchSolutionBuilderHost?<TProgram extends ts.BuilderProgram, THost extends ts.SolutionBuilderWithWatchHost<TProgram>>(host: THost, parsedCommandLine?: ts.ParsedCommandLine): THost;
    extendWatchCompilerHost?<TProgram extends ts.BuilderProgram, THost extends ts.WatchCompilerHost<TProgram>>(host: THost, parsedCommandLine?: ts.ParsedCommandLine): THost;
    extendCompilerHost?<THost extends ts.CompilerHost>(host: THost, parsedCommandLine?: ts.ParsedCommandLine): THost;
    extendParseConfigFileHost?<THost extends ts.ParseConfigFileHost>(host: THost): THost;
}
interface TypeScriptReporterExtension {
    extendIssues?(issues: Issue[]): Issue[];
    extendDependencies?(dependencies: FilesMatch): FilesMatch;
}
interface TypeScriptExtension extends TypeScriptHostExtension, TypeScriptReporterExtension {
}
export { TypeScriptExtension, TypeScriptReporterExtension, TypeScriptHostExtension };