Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
517 bytes
|
Line | |
---|
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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.