FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/javascript/externs/nodejs/tty.js at codeql-cli/v2.16.1 · github/codeql · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10k
Code
Issues
998
Pull requests
459
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
javascript
/
externs
/
nodejs
/
tty.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
133 lines (109 loc) · 3.5 KB
Breadcrumbs
codeql
/
javascript
/
externs
/
nodejs
/
tty.js
Copy path
File metadata and controls
133 lines (109 loc) · 3.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// Automatically generated from TypeScript type definitions provided by
// DefinitelyTyped (https://github.com/DefinitelyTyped/DefinitelyTyped),
// which is licensed under the MIT license; see file DefinitelyTyped-LICENSE
// in parent directory.
// Type definitions for Node.js 10.5.x
// Project: http://nodejs.org/
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>
// DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
// Parambir Singh <https://github.com/parambirs>
// Christian Vaagland Tellnes <https://github.com/tellnes>
// Wilco Bakker <https://github.com/WilcoBakker>
// Nicolas Voigt <https://github.com/octo-sniffle>
// Chigozirim C. <https://github.com/smac89>
// Flarna <https://github.com/Flarna>
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
// wwwy3y3 <https://github.com/wwwy3y3>
// Deividas Bakanas <https://github.com/DeividasBakanas>
// Kelvin Jin <https://github.com/kjin>
// Alvis HT Tang <https://github.com/alvis>
// Sebastian Silbermann <https://github.com/eps1lon>
// Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
// Alberto Schiabel <https://github.com/jkomyno>
// Klaus Meinhardt <https://github.com/ajafff>
// Huw <https://github.com/hoo29>
// Nicolas Even <https://github.com/n-e>
// Bruno Scheufler <https://github.com/brunoscheufler>
// Mohsen Azimi <https://github.com/mohsen1>
// Hoàng Văn Khải <https://github.com/KSXGitHub>
// Alexander T. <https://github.com/a-tarasyuk>
// Lishude <https://github.com/islishude>
// Andrew Makarov <https://github.com/r3nya>
// Zane Hannan AU <https://github.com/ZaneHannanAU>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
*
@externs
*
@fileoverview
Definitions for module "tty"
*/
var
tty
=
{
}
;
var
net
=
require
(
"net"
)
;
/**
*
@param
{
number
} fd
*
@return
{
boolean
}
*/
tty
.
isatty
=
function
(
fd
)
{
}
;
/**
*
@interface
*
@extends
{
net.Socket
}
*/
tty
.
ReadStream
=
function
(
)
{
}
;
/**
*
@type
{
boolean
}
*/
tty
.
ReadStream
.
prototype
.
isRaw
;
/**
*
@param
{
boolean
} mode
*
@return
{
void
}
*/
tty
.
ReadStream
.
prototype
.
setRawMode
=
function
(
mode
)
{
}
;
/**
*
@type
{
boolean
}
*/
tty
.
ReadStream
.
prototype
.
isTTY
;
/**
*
@interface
*
@extends
{
net.Socket
}
*/
tty
.
WriteStream
=
function
(
)
{
}
;
/**
*
@type
{
number
}
*/
tty
.
WriteStream
.
prototype
.
columns
;
/**
*
@type
{
number
}
*/
tty
.
WriteStream
.
prototype
.
rows
;
/**
*
@type
{
boolean
}
*/
tty
.
WriteStream
.
prototype
.
isTTY
;
module
.
exports
.
isatty
=
tty
.
isatty
;
module
.
exports
.
ReadStream
=
tty
.
ReadStream
;
module
.
exports
.
WriteStream
=
tty
.
WriteStream
;
/**
*
@param
{
boolean
} mode
*
@return
{
void
}
*/
tty
.
setRawMode
=
function
(
mode
)
{
}
;
/**
*
@param
{
string
} path
*
@param
{
Array<string>=
} args
*
@return
{
Array<*>
}
*/
tty
.
open
=
function
(
path
,
args
)
{
}
;
/**
*
@param
{
*
} fd
*
@param
{
number
} row
*
@param
{
number
} col
*
@return
{
*
}
*/
tty
.
setWindowSize
=
function
(
fd
,
row
,
col
)
{
}
;
/**
*
@param
{
*
} fd
*
@return
{
Array<number>
}
*/
tty
.
getWindowSize
=
function
(
fd
)
{
}
;
module
.
exports
.
setRawMode
=
tty
.
setRawMode
;
module
.
exports
.
open
=
tty
.
open
;
module
.
exports
.
setWindowSize
=
tty
.
setWindowSize
;
module
.
exports
.
getWindowSize
=
tty
.
getWindowSize
;
Back
|
FazBrowse Home
|
New Git URL