process.d.ts 372 B

123456789101112
  1. export 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. }
  10. export declare function createProcess(): IProcess;
  11. declare const _default: IProcess;
  12. export default _default;