mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Include isTTY in types
This commit is contained in:
6
packages/bun-types/globals.d.ts
vendored
6
packages/bun-types/globals.d.ts
vendored
@@ -351,9 +351,9 @@ interface Process {
|
||||
getuid(): number;
|
||||
setuid(id: number | string): void;
|
||||
dlopen(module: { exports: any }, filename: string, flags?: number): void;
|
||||
stdin: import("stream").Duplex;
|
||||
stdout: import("stream").Writable;
|
||||
stderr: import("stream").Writable;
|
||||
stdin: import("stream").Duplex & { isTTY: boolean };
|
||||
stdout: import("stream").Writable & { isTTY: boolean };
|
||||
stderr: import("stream").Writable & { isTTY: boolean };
|
||||
}
|
||||
|
||||
declare var process: Process;
|
||||
|
||||
Reference in New Issue
Block a user