fork-ts-checker-webpack-plugin
Version:
Runs typescript type checker and linter on separate process.
11 lines (10 loc) • 565 B
TypeScript
import { Reporter } from '../Reporter';
import { RpcMessageChannel } from '../../rpc';
interface ReporterRpcClient extends Reporter {
isConnected: () => boolean;
connect: () => Promise<void>;
disconnect: () => Promise<void>;
}
declare function createReporterRpcClient<TConfiguration extends object>(channel: RpcMessageChannel, configuration: TConfiguration): ReporterRpcClient;
declare function composeReporterRpcClients(clients: ReporterRpcClient[]): ReporterRpcClient;
export { ReporterRpcClient, createReporterRpcClient, composeReporterRpcClients };