PromoCursed/node_modules/memfs/lib/process.d.ts

13 lines
374 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04: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;