UNPKG

374 BTypeScriptView Raw
1export interface IProcess {
2 getuid?(): number;
3 getgid?(): number;
4 cwd(): string;
5 platform: string;
6 nextTick: (callback: (...args: any[]) => void, ...args: any[]) => void;
7 emitWarning: (message: string, type: string) => void;
8 env: {};
9}
10export declare function createProcess(): IProcess;
11declare const _default: IProcess;
12export default _default;