aswi2020vldc-gitlab/templetes/node_modules/@types/node/process.d.ts @ 3a515b92
1 |
declare module "process" { |
---|---|
2 |
import * as tty from "tty"; |
3 |
|
4 |
global { |
5 |
namespace NodeJS { |
6 |
// this namespace merge is here because these are specifically used
|
7 |
// as the type for process.stdin, process.stdout, and process.stderr.
|
8 |
// they can't live in tty.d.ts because we need to disambiguate the imported name.
|
9 |
interface ReadStream extends tty.ReadStream {} |
10 |
interface WriteStream extends tty.WriteStream {} |
11 |
}
|
12 |
}
|
13 |
|
14 |
export = process; |
15 |
}
|