UNPKG

ts-checker-rspack-plugin

Version:

Runs typescript type checker and linter on separate process.

5 lines (4 loc) 246 B
/// <reference types="node" /> import type { ChildProcess } from 'child_process'; import type { RpcRemoteMethod } from './types'; export declare function wrapRpc<T extends (...args: any[]) => any>(childProcess: ChildProcess): RpcRemoteMethod<T>;