@types/node 12.12.13 → 12.12.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +2 -2
- node/child_process.d.ts +37 -32
- node/fs.d.ts +5 -0
- node/index.d.ts +1 -0
- node/package.json +7 -2
- node/readline.d.ts +7 -0
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 10 Dec 2019 19:20:30 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `NodeJS`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript (https://github.com/Microsoft), DefinitelyTyped (https://github.com/DefinitelyTyped), Alberto Schiabel (https://github.com/jkomyno), Alexander T. (https://github.com/a-tarasyuk), Alvis HT Tang (https://github.com/alvis), Andrew Makarov (https://github.com/r3nya), Benjamin Toueg (https://github.com/btoueg), Bruno Scheufler (https://github.com/brunoscheufler), Chigozirim C. (https://github.com/smac89), Christian Vaagland Tellnes (https://github.com/tellnes), David Junger (https://github.com/touffy), Deividas Bakanas (https://github.com/DeividasBakanas), Eugene Y. Q. Shen (https://github.com/eyqs), Flarna (https://github.com/Flarna), Hannes Magnusson (https://github.com/Hannes-Magnusson-CK), Hoàng Văn Khải (https://github.com/KSXGitHub), Huw (https://github.com/hoo29), Kelvin Jin (https://github.com/kjin), Klaus Meinhardt (https://github.com/ajafff), Lishude (https://github.com/islishude), Mariusz Wiktorczyk (https://github.com/mwiktorczyk), Mohsen Azimi (https://github.com/mohsen1), Nicolas Even (https://github.com/n-e), Nicolas Voigt (https://github.com/octo-sniffle), Nikita Galkin (https://github.com/galkin), Parambir Singh (https://github.com/parambirs), Sebastian Silbermann (https://github.com/eps1lon), Simon Schick (https://github.com/SimonSchick), Thomas den Hollander (https://github.com/ThomasdenH), Wilco Bakker (https://github.com/WilcoBakker), wwwy3y3 (https://github.com/wwwy3y3), Zane Hannan AU (https://github.com/ZaneHannanAU), Samuel Ainsworth (https://github.com/samuela), Kyle Uehlein (https://github.com/kuehlein), Jordi Oliveras Rovira (https://github.com/j-oliveras), Thanik Bhongbhibhat (https://github.com/bhongy), Marcin Kopacz (https://github.com/chyzwar), Trivikram Kamat (https://github.com/trivikr), Minh Son Nguyen (https://github.com/nguymin4),
|
|
16
|
+
These definitions were written by Microsoft TypeScript (https://github.com/Microsoft), DefinitelyTyped (https://github.com/DefinitelyTyped), Alberto Schiabel (https://github.com/jkomyno), Alexander T. (https://github.com/a-tarasyuk), Alvis HT Tang (https://github.com/alvis), Andrew Makarov (https://github.com/r3nya), Benjamin Toueg (https://github.com/btoueg), Bruno Scheufler (https://github.com/brunoscheufler), Chigozirim C. (https://github.com/smac89), Christian Vaagland Tellnes (https://github.com/tellnes), David Junger (https://github.com/touffy), Deividas Bakanas (https://github.com/DeividasBakanas), Eugene Y. Q. Shen (https://github.com/eyqs), Flarna (https://github.com/Flarna), Hannes Magnusson (https://github.com/Hannes-Magnusson-CK), Hoàng Văn Khải (https://github.com/KSXGitHub), Huw (https://github.com/hoo29), Kelvin Jin (https://github.com/kjin), Klaus Meinhardt (https://github.com/ajafff), Lishude (https://github.com/islishude), Mariusz Wiktorczyk (https://github.com/mwiktorczyk), Mohsen Azimi (https://github.com/mohsen1), Nicolas Even (https://github.com/n-e), Nicolas Voigt (https://github.com/octo-sniffle), Nikita Galkin (https://github.com/galkin), Parambir Singh (https://github.com/parambirs), Sebastian Silbermann (https://github.com/eps1lon), Simon Schick (https://github.com/SimonSchick), Thomas den Hollander (https://github.com/ThomasdenH), Wilco Bakker (https://github.com/WilcoBakker), wwwy3y3 (https://github.com/wwwy3y3), Zane Hannan AU (https://github.com/ZaneHannanAU), Samuel Ainsworth (https://github.com/samuela), Kyle Uehlein (https://github.com/kuehlein), Jordi Oliveras Rovira (https://github.com/j-oliveras), Thanik Bhongbhibhat (https://github.com/bhongy), Marcin Kopacz (https://github.com/chyzwar), Trivikram Kamat (https://github.com/trivikr), Minh Son Nguyen (https://github.com/nguymin4), Junxiao Shi (https://github.com/yoursunny), and Ilia Baryshnikov (https://github.com/qwelias).
|
node/child_process.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare module "child_process" {
|
|
|
18
18
|
readonly killed: boolean;
|
|
19
19
|
readonly pid: number;
|
|
20
20
|
readonly connected: boolean;
|
|
21
|
-
kill(signal?:
|
|
21
|
+
kill(signal?: NodeJS.Signals | number): void;
|
|
22
22
|
send(message: any, callback?: (error: Error | null) => void): boolean;
|
|
23
23
|
send(message: any, sendHandle?: net.Socket | net.Server, callback?: (error: Error | null) => void): boolean;
|
|
24
24
|
send(message: any, sendHandle?: net.Socket | net.Server, options?: MessageOptions, callback?: (error: Error | null) => void): boolean;
|
|
@@ -36,45 +36,45 @@ declare module "child_process" {
|
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
38
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
39
|
-
addListener(event: "close", listener: (code: number, signal:
|
|
39
|
+
addListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
40
40
|
addListener(event: "disconnect", listener: () => void): this;
|
|
41
41
|
addListener(event: "error", listener: (err: Error) => void): this;
|
|
42
|
-
addListener(event: "exit", listener: (code: number | null, signal:
|
|
42
|
+
addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
43
43
|
addListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
44
44
|
|
|
45
45
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
46
|
-
emit(event: "close", code: number, signal:
|
|
46
|
+
emit(event: "close", code: number, signal: NodeJS.Signals): boolean;
|
|
47
47
|
emit(event: "disconnect"): boolean;
|
|
48
48
|
emit(event: "error", err: Error): boolean;
|
|
49
|
-
emit(event: "exit", code: number | null, signal:
|
|
49
|
+
emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
50
50
|
emit(event: "message", message: any, sendHandle: net.Socket | net.Server): boolean;
|
|
51
51
|
|
|
52
52
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
53
|
-
on(event: "close", listener: (code: number, signal:
|
|
53
|
+
on(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
54
54
|
on(event: "disconnect", listener: () => void): this;
|
|
55
55
|
on(event: "error", listener: (err: Error) => void): this;
|
|
56
|
-
on(event: "exit", listener: (code: number | null, signal:
|
|
56
|
+
on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
57
57
|
on(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
58
58
|
|
|
59
59
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
60
|
-
once(event: "close", listener: (code: number, signal:
|
|
60
|
+
once(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
61
61
|
once(event: "disconnect", listener: () => void): this;
|
|
62
62
|
once(event: "error", listener: (err: Error) => void): this;
|
|
63
|
-
once(event: "exit", listener: (code: number | null, signal:
|
|
63
|
+
once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
64
64
|
once(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
65
65
|
|
|
66
66
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
67
|
-
prependListener(event: "close", listener: (code: number, signal:
|
|
67
|
+
prependListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
68
68
|
prependListener(event: "disconnect", listener: () => void): this;
|
|
69
69
|
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
70
|
-
prependListener(event: "exit", listener: (code: number | null, signal:
|
|
70
|
+
prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
71
71
|
prependListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
72
72
|
|
|
73
73
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
74
|
-
prependOnceListener(event: "close", listener: (code: number, signal:
|
|
74
|
+
prependOnceListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
75
75
|
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
76
76
|
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
77
|
-
prependOnceListener(event: "exit", listener: (code: number | null, signal:
|
|
77
|
+
prependOnceListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
78
78
|
prependOnceListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -244,7 +244,7 @@ declare module "child_process" {
|
|
|
244
244
|
interface ExecOptions extends CommonOptions {
|
|
245
245
|
shell?: string;
|
|
246
246
|
maxBuffer?: number;
|
|
247
|
-
killSignal?:
|
|
247
|
+
killSignal?: NodeJS.Signals | number;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
interface ExecOptionsWithStringEncoding extends ExecOptions {
|
|
@@ -259,7 +259,7 @@ declare module "child_process" {
|
|
|
259
259
|
cmd?: string;
|
|
260
260
|
killed?: boolean;
|
|
261
261
|
code?: number;
|
|
262
|
-
signal?:
|
|
262
|
+
signal?: NodeJS.Signals;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
// no `options` definitely means stdout/stderr are `string`.
|
|
@@ -300,7 +300,7 @@ declare module "child_process" {
|
|
|
300
300
|
|
|
301
301
|
interface ExecFileOptions extends CommonOptions {
|
|
302
302
|
maxBuffer?: number;
|
|
303
|
-
killSignal?:
|
|
303
|
+
killSignal?: NodeJS.Signals | number;
|
|
304
304
|
windowsVerbatimArguments?: boolean;
|
|
305
305
|
shell?: boolean | string;
|
|
306
306
|
}
|
|
@@ -320,25 +320,25 @@ declare module "child_process" {
|
|
|
320
320
|
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null): ChildProcess;
|
|
321
321
|
|
|
322
322
|
// no `options` definitely means stdout/stderr are `string`.
|
|
323
|
-
function execFile(file: string, callback: (error:
|
|
324
|
-
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error:
|
|
323
|
+
function execFile(file: string, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
324
|
+
function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
325
325
|
|
|
326
326
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
327
|
-
function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error:
|
|
327
|
+
function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
|
|
328
328
|
function execFile(
|
|
329
329
|
file: string,
|
|
330
330
|
args: ReadonlyArray<string> | undefined | null,
|
|
331
331
|
options: ExecFileOptionsWithBufferEncoding,
|
|
332
|
-
callback: (error:
|
|
332
|
+
callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void,
|
|
333
333
|
): ChildProcess;
|
|
334
334
|
|
|
335
335
|
// `options` with well known `encoding` means stdout/stderr are definitely `string`.
|
|
336
|
-
function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error:
|
|
336
|
+
function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
337
337
|
function execFile(
|
|
338
338
|
file: string,
|
|
339
339
|
args: ReadonlyArray<string> | undefined | null,
|
|
340
340
|
options: ExecFileOptionsWithStringEncoding,
|
|
341
|
-
callback: (error:
|
|
341
|
+
callback: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
342
342
|
): ChildProcess;
|
|
343
343
|
|
|
344
344
|
// `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
|
|
@@ -346,30 +346,35 @@ declare module "child_process" {
|
|
|
346
346
|
function execFile(
|
|
347
347
|
file: string,
|
|
348
348
|
options: ExecFileOptionsWithOtherEncoding,
|
|
349
|
-
callback: (error:
|
|
349
|
+
callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
350
350
|
): ChildProcess;
|
|
351
351
|
function execFile(
|
|
352
352
|
file: string,
|
|
353
353
|
args: ReadonlyArray<string> | undefined | null,
|
|
354
354
|
options: ExecFileOptionsWithOtherEncoding,
|
|
355
|
-
callback: (error:
|
|
355
|
+
callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
|
|
356
356
|
): ChildProcess;
|
|
357
357
|
|
|
358
358
|
// `options` without an `encoding` means stdout/stderr are definitely `string`.
|
|
359
|
-
function execFile(file: string, options: ExecFileOptions, callback: (error:
|
|
360
|
-
function execFile(
|
|
359
|
+
function execFile(file: string, options: ExecFileOptions, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
|
|
360
|
+
function execFile(
|
|
361
|
+
file: string,
|
|
362
|
+
args: ReadonlyArray<string> | undefined | null,
|
|
363
|
+
options: ExecFileOptions,
|
|
364
|
+
callback: (error: ExecException | null, stdout: string, stderr: string) => void
|
|
365
|
+
): ChildProcess;
|
|
361
366
|
|
|
362
367
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
363
368
|
function execFile(
|
|
364
369
|
file: string,
|
|
365
370
|
options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
|
|
366
|
-
callback: ((error:
|
|
371
|
+
callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
|
|
367
372
|
): ChildProcess;
|
|
368
373
|
function execFile(
|
|
369
374
|
file: string,
|
|
370
375
|
args: ReadonlyArray<string> | undefined | null,
|
|
371
376
|
options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
|
|
372
|
-
callback: ((error:
|
|
377
|
+
callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
|
|
373
378
|
): ChildProcess;
|
|
374
379
|
|
|
375
380
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
@@ -406,7 +411,7 @@ declare module "child_process" {
|
|
|
406
411
|
argv0?: string; // Not specified in the docs
|
|
407
412
|
input?: string | NodeJS.ArrayBufferView;
|
|
408
413
|
stdio?: StdioOptions;
|
|
409
|
-
killSignal?:
|
|
414
|
+
killSignal?: NodeJS.Signals | number;
|
|
410
415
|
maxBuffer?: number;
|
|
411
416
|
encoding?: string;
|
|
412
417
|
shell?: boolean | string;
|
|
@@ -424,7 +429,7 @@ declare module "child_process" {
|
|
|
424
429
|
stdout: T;
|
|
425
430
|
stderr: T;
|
|
426
431
|
status: number | null;
|
|
427
|
-
signal:
|
|
432
|
+
signal: NodeJS.Signals | null;
|
|
428
433
|
error?: Error;
|
|
429
434
|
}
|
|
430
435
|
function spawnSync(command: string): SpawnSyncReturns<Buffer>;
|
|
@@ -439,7 +444,7 @@ declare module "child_process" {
|
|
|
439
444
|
input?: string | Uint8Array;
|
|
440
445
|
stdio?: StdioOptions;
|
|
441
446
|
shell?: string;
|
|
442
|
-
killSignal?:
|
|
447
|
+
killSignal?: NodeJS.Signals | number;
|
|
443
448
|
maxBuffer?: number;
|
|
444
449
|
encoding?: string;
|
|
445
450
|
}
|
|
@@ -457,7 +462,7 @@ declare module "child_process" {
|
|
|
457
462
|
interface ExecFileSyncOptions extends CommonOptions {
|
|
458
463
|
input?: string | NodeJS.ArrayBufferView;
|
|
459
464
|
stdio?: StdioOptions;
|
|
460
|
-
killSignal?:
|
|
465
|
+
killSignal?: NodeJS.Signals | number;
|
|
461
466
|
maxBuffer?: number;
|
|
462
467
|
encoding?: string;
|
|
463
468
|
shell?: boolean | string;
|
node/fs.d.ts
CHANGED
|
@@ -107,22 +107,27 @@ declare module "fs" {
|
|
|
107
107
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
108
108
|
addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
109
109
|
addListener(event: "error", listener: (error: Error) => void): this;
|
|
110
|
+
addListener(event: "close", listener: () => void): this;
|
|
110
111
|
|
|
111
112
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
112
113
|
on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
113
114
|
on(event: "error", listener: (error: Error) => void): this;
|
|
115
|
+
on(event: "close", listener: () => void): this;
|
|
114
116
|
|
|
115
117
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
116
118
|
once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
117
119
|
once(event: "error", listener: (error: Error) => void): this;
|
|
120
|
+
once(event: "close", listener: () => void): this;
|
|
118
121
|
|
|
119
122
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
120
123
|
prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
121
124
|
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
125
|
+
prependListener(event: "close", listener: () => void): this;
|
|
122
126
|
|
|
123
127
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
124
128
|
prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
125
129
|
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
130
|
+
prependOnceListener(event: "close", listener: () => void): this;
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
class ReadStream extends stream.Readable {
|
node/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
41
41
|
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
42
42
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
43
|
+
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
43
44
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
44
45
|
|
|
45
46
|
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.12.
|
|
3
|
+
"version": "12.12.17",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -203,6 +203,11 @@
|
|
|
203
203
|
"name": "Junxiao Shi",
|
|
204
204
|
"url": "https://github.com/yoursunny",
|
|
205
205
|
"githubUsername": "yoursunny"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "Ilia Baryshnikov",
|
|
209
|
+
"url": "https://github.com/qwelias",
|
|
210
|
+
"githubUsername": "qwelias"
|
|
206
211
|
}
|
|
207
212
|
],
|
|
208
213
|
"main": "",
|
|
@@ -221,6 +226,6 @@
|
|
|
221
226
|
},
|
|
222
227
|
"scripts": {},
|
|
223
228
|
"dependencies": {},
|
|
224
|
-
"typesPublisherContentHash": "
|
|
229
|
+
"typesPublisherContentHash": "b91bec997aa13851c25ab03f80a82fb680c9a7f692b6c1085fe12b75261e2c93",
|
|
225
230
|
"typeScriptVersion": "2.8"
|
|
226
231
|
}
|
node/readline.d.ts
CHANGED
|
@@ -13,6 +13,13 @@ declare module "readline" {
|
|
|
13
13
|
class Interface extends events.EventEmitter {
|
|
14
14
|
readonly terminal: boolean;
|
|
15
15
|
|
|
16
|
+
// Need direct access to line/cursor data, for use in external processes
|
|
17
|
+
// see: https://github.com/nodejs/node/issues/30347
|
|
18
|
+
/** The current input data */
|
|
19
|
+
readonly line: string;
|
|
20
|
+
/** The current cursor position in the input line */
|
|
21
|
+
readonly cursor: number;
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
* NOTE: According to the documentation:
|
|
18
25
|
*
|