securityos/node_modules/@cowasm/memfs/lib/process.d.ts

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;