5 lines
246 B
TypeScript
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>;
|