wrap-rpc.d.ts 246 B

1234
  1. /// <reference types="node" />
  2. import type { ChildProcess } from 'child_process';
  3. import type { RpcRemoteMethod } from './types';
  4. export declare function wrapRpc<T extends (...args: any[]) => any>(childProcess: ChildProcess): RpcRemoteMethod<T>;