Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / protobufjs / node_modules / @types / node / process.d.ts
diff --git a/legacy-libs/protobufjs/node_modules/@types/node/process.d.ts b/legacy-libs/protobufjs/node_modules/@types/node/process.d.ts
new file mode 100644 (file)
index 0000000..d007d4e
--- /dev/null
@@ -0,0 +1,15 @@
+declare module "process" {
+    import * as tty from "tty";
+
+    global {
+        namespace NodeJS {
+            // this namespace merge is here because these are specifically used
+            // as the type for process.stdin, process.stdout, and process.stderr.
+            // they can't live in tty.d.ts because we need to disambiguate the imported name.
+            interface ReadStream extends tty.ReadStream {}
+            interface WriteStream extends tty.WriteStream {}
+        }
+    }
+
+    export = process;
+}