node: definition of the module "tty" has been changed

This commit is contained in:
Ilya Mochalov
2016-01-10 13:08:31 +05:00
parent 6eebd5e90a
commit c4947dc14b
2 changed files with 21 additions and 1 deletions
+2
View File
@@ -1909,10 +1909,12 @@ declare module "tty" {
export interface ReadStream extends net.Socket {
isRaw: boolean;
setRawMode(mode: boolean): void;
isTTY: boolean;
}
export interface WriteStream extends net.Socket {
columns: number;
rows: number;
isTTY: boolean;
}
}