amis-rpc-design/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/wrap-rpc.d.ts
2023-10-07 19:42:30 +08:00

5 lines
246 B
TypeScript

/// <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>;