amis-rpc-design/node_modules/memfs/lib/process.d.ts
2023-10-07 19:42:30 +08:00

13 lines
374 B
TypeScript

export interface IProcess {
getuid?(): number;
getgid?(): number;
cwd(): string;
platform: string;
nextTick: (callback: (...args: any[]) => void, ...args: any[]) => void;
emitWarning: (message: string, type: string) => void;
env: {};
}
export declare function createProcess(): IProcess;
declare const _default: IProcess;
export default _default;