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

13 lines
374 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
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;