mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
357 B
TypeScript
16 lines
357 B
TypeScript
declare module "tty" {
|
|
import * as net from "net";
|
|
|
|
function isatty(fd: number): boolean;
|
|
class ReadStream extends net.Socket {
|
|
isRaw: boolean;
|
|
setRawMode(mode: boolean): void;
|
|
isTTY: boolean;
|
|
}
|
|
class WriteStream extends net.Socket {
|
|
columns: number;
|
|
rows: number;
|
|
isTTY: boolean;
|
|
}
|
|
}
|