@types/node 16.0.0 → 16.0.1
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 +1 -1
- node/assert.d.ts +5 -5
- node/async_hooks.d.ts +2 -2
- node/buffer.d.ts +2 -2
- node/child_process.d.ts +49 -49
- node/cluster.d.ts +10 -10
- node/console.d.ts +4 -4
- node/crypto.d.ts +61 -61
- node/dgram.d.ts +9 -9
- node/dns.d.ts +11 -11
- node/events.d.ts +3 -3
- node/fs/promises.d.ts +21 -17
- node/fs.d.ts +64 -60
- node/globals.d.ts +8 -8
- node/http.d.ts +97 -97
- node/http2.d.ts +65 -65
- node/https.d.ts +4 -4
- node/inspector.d.ts +148 -148
- node/net.d.ts +30 -30
- node/package.json +2 -2
- node/path.d.ts +5 -5
- node/perf_hooks.d.ts +14 -14
- node/process.d.ts +13 -13
- node/querystring.d.ts +3 -3
- node/readline.d.ts +15 -15
- node/repl.d.ts +14 -14
- node/stream.d.ts +17 -17
- node/timers.d.ts +1 -1
- node/tls.d.ts +50 -50
- node/url.d.ts +15 -15
- node/util.d.ts +13 -13
- node/vm.d.ts +24 -24
- node/wasi.d.ts +7 -7
- node/worker_threads.d.ts +15 -15
- node/zlib.d.ts +16 -16
node/inspector.d.ts
CHANGED
|
@@ -68,11 +68,11 @@ declare module 'inspector' {
|
|
|
68
68
|
/**
|
|
69
69
|
* Object subtype hint. Specified for <code>object</code> type values only.
|
|
70
70
|
*/
|
|
71
|
-
subtype?: string;
|
|
71
|
+
subtype?: string | undefined;
|
|
72
72
|
/**
|
|
73
73
|
* Object class (constructor) name. Specified for <code>object</code> type values only.
|
|
74
74
|
*/
|
|
75
|
-
className?: string;
|
|
75
|
+
className?: string | undefined;
|
|
76
76
|
/**
|
|
77
77
|
* Remote object value in case of primitive values or JSON values (if it was requested).
|
|
78
78
|
*/
|
|
@@ -80,24 +80,24 @@ declare module 'inspector' {
|
|
|
80
80
|
/**
|
|
81
81
|
* Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property.
|
|
82
82
|
*/
|
|
83
|
-
unserializableValue?: UnserializableValue;
|
|
83
|
+
unserializableValue?: UnserializableValue | undefined;
|
|
84
84
|
/**
|
|
85
85
|
* String representation of the object.
|
|
86
86
|
*/
|
|
87
|
-
description?: string;
|
|
87
|
+
description?: string | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* Unique object identifier (for non-primitive values).
|
|
90
90
|
*/
|
|
91
|
-
objectId?: RemoteObjectId;
|
|
91
|
+
objectId?: RemoteObjectId | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* Preview containing abbreviated property values. Specified for <code>object</code> type values only.
|
|
94
94
|
* @experimental
|
|
95
95
|
*/
|
|
96
|
-
preview?: ObjectPreview;
|
|
96
|
+
preview?: ObjectPreview | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* @experimental
|
|
99
99
|
*/
|
|
100
|
-
customPreview?: CustomPreview;
|
|
100
|
+
customPreview?: CustomPreview | undefined;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/**
|
|
@@ -108,7 +108,7 @@ declare module 'inspector' {
|
|
|
108
108
|
hasBody: boolean;
|
|
109
109
|
formatterObjectId: RemoteObjectId;
|
|
110
110
|
bindRemoteObjectFunctionId: RemoteObjectId;
|
|
111
|
-
configObjectId?: RemoteObjectId;
|
|
111
|
+
configObjectId?: RemoteObjectId | undefined;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/**
|
|
@@ -123,11 +123,11 @@ declare module 'inspector' {
|
|
|
123
123
|
/**
|
|
124
124
|
* Object subtype hint. Specified for <code>object</code> type values only.
|
|
125
125
|
*/
|
|
126
|
-
subtype?: string;
|
|
126
|
+
subtype?: string | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* String representation of the object.
|
|
129
129
|
*/
|
|
130
|
-
description?: string;
|
|
130
|
+
description?: string | undefined;
|
|
131
131
|
/**
|
|
132
132
|
* True iff some of the properties or entries of the original object did not fit.
|
|
133
133
|
*/
|
|
@@ -139,7 +139,7 @@ declare module 'inspector' {
|
|
|
139
139
|
/**
|
|
140
140
|
* List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only.
|
|
141
141
|
*/
|
|
142
|
-
entries?: EntryPreview[];
|
|
142
|
+
entries?: EntryPreview[] | undefined;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
@@ -157,15 +157,15 @@ declare module 'inspector' {
|
|
|
157
157
|
/**
|
|
158
158
|
* User-friendly property value string.
|
|
159
159
|
*/
|
|
160
|
-
value?: string;
|
|
160
|
+
value?: string | undefined;
|
|
161
161
|
/**
|
|
162
162
|
* Nested value preview.
|
|
163
163
|
*/
|
|
164
|
-
valuePreview?: ObjectPreview;
|
|
164
|
+
valuePreview?: ObjectPreview | undefined;
|
|
165
165
|
/**
|
|
166
166
|
* Object subtype hint. Specified for <code>object</code> type values only.
|
|
167
167
|
*/
|
|
168
|
-
subtype?: string;
|
|
168
|
+
subtype?: string | undefined;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/**
|
|
@@ -175,7 +175,7 @@ declare module 'inspector' {
|
|
|
175
175
|
/**
|
|
176
176
|
* Preview of the key. Specified for map-like collection entries.
|
|
177
177
|
*/
|
|
178
|
-
key?: ObjectPreview;
|
|
178
|
+
key?: ObjectPreview | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* Preview of the value.
|
|
181
181
|
*/
|
|
@@ -193,19 +193,19 @@ declare module 'inspector' {
|
|
|
193
193
|
/**
|
|
194
194
|
* The value associated with the property.
|
|
195
195
|
*/
|
|
196
|
-
value?: RemoteObject;
|
|
196
|
+
value?: RemoteObject | undefined;
|
|
197
197
|
/**
|
|
198
198
|
* True if the value associated with the property may be changed (data descriptors only).
|
|
199
199
|
*/
|
|
200
|
-
writable?: boolean;
|
|
200
|
+
writable?: boolean | undefined;
|
|
201
201
|
/**
|
|
202
202
|
* A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only).
|
|
203
203
|
*/
|
|
204
|
-
get?: RemoteObject;
|
|
204
|
+
get?: RemoteObject | undefined;
|
|
205
205
|
/**
|
|
206
206
|
* A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only).
|
|
207
207
|
*/
|
|
208
|
-
set?: RemoteObject;
|
|
208
|
+
set?: RemoteObject | undefined;
|
|
209
209
|
/**
|
|
210
210
|
* True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
|
|
211
211
|
*/
|
|
@@ -217,15 +217,15 @@ declare module 'inspector' {
|
|
|
217
217
|
/**
|
|
218
218
|
* True if the result was thrown during the evaluation.
|
|
219
219
|
*/
|
|
220
|
-
wasThrown?: boolean;
|
|
220
|
+
wasThrown?: boolean | undefined;
|
|
221
221
|
/**
|
|
222
222
|
* True if the property is owned for the object.
|
|
223
223
|
*/
|
|
224
|
-
isOwn?: boolean;
|
|
224
|
+
isOwn?: boolean | undefined;
|
|
225
225
|
/**
|
|
226
226
|
* Property symbol object, if the property is of the <code>symbol</code> type.
|
|
227
227
|
*/
|
|
228
|
-
symbol?: RemoteObject;
|
|
228
|
+
symbol?: RemoteObject | undefined;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
@@ -239,7 +239,7 @@ declare module 'inspector' {
|
|
|
239
239
|
/**
|
|
240
240
|
* The value associated with the property.
|
|
241
241
|
*/
|
|
242
|
-
value?: RemoteObject;
|
|
242
|
+
value?: RemoteObject | undefined;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
/**
|
|
@@ -253,11 +253,11 @@ declare module 'inspector' {
|
|
|
253
253
|
/**
|
|
254
254
|
* Primitive value which can not be JSON-stringified.
|
|
255
255
|
*/
|
|
256
|
-
unserializableValue?: UnserializableValue;
|
|
256
|
+
unserializableValue?: UnserializableValue | undefined;
|
|
257
257
|
/**
|
|
258
258
|
* Remote object handle.
|
|
259
259
|
*/
|
|
260
|
-
objectId?: RemoteObjectId;
|
|
260
|
+
objectId?: RemoteObjectId | undefined;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
/**
|
|
@@ -284,7 +284,7 @@ declare module 'inspector' {
|
|
|
284
284
|
/**
|
|
285
285
|
* Embedder-specific auxiliary data.
|
|
286
286
|
*/
|
|
287
|
-
auxData?: {};
|
|
287
|
+
auxData?: {} | undefined;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
/**
|
|
@@ -310,23 +310,23 @@ declare module 'inspector' {
|
|
|
310
310
|
/**
|
|
311
311
|
* Script ID of the exception location.
|
|
312
312
|
*/
|
|
313
|
-
scriptId?: ScriptId;
|
|
313
|
+
scriptId?: ScriptId | undefined;
|
|
314
314
|
/**
|
|
315
315
|
* URL of the exception location, to be used when the script was not reported.
|
|
316
316
|
*/
|
|
317
|
-
url?: string;
|
|
317
|
+
url?: string | undefined;
|
|
318
318
|
/**
|
|
319
319
|
* JavaScript stack trace if available.
|
|
320
320
|
*/
|
|
321
|
-
stackTrace?: StackTrace;
|
|
321
|
+
stackTrace?: StackTrace | undefined;
|
|
322
322
|
/**
|
|
323
323
|
* Exception object if available.
|
|
324
324
|
*/
|
|
325
|
-
exception?: RemoteObject;
|
|
325
|
+
exception?: RemoteObject | undefined;
|
|
326
326
|
/**
|
|
327
327
|
* Identifier of the context where exception happened.
|
|
328
328
|
*/
|
|
329
|
-
executionContextId?: ExecutionContextId;
|
|
329
|
+
executionContextId?: ExecutionContextId | undefined;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
/**
|
|
@@ -367,7 +367,7 @@ declare module 'inspector' {
|
|
|
367
367
|
/**
|
|
368
368
|
* String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
|
|
369
369
|
*/
|
|
370
|
-
description?: string;
|
|
370
|
+
description?: string | undefined;
|
|
371
371
|
/**
|
|
372
372
|
* JavaScript function name.
|
|
373
373
|
*/
|
|
@@ -375,12 +375,12 @@ declare module 'inspector' {
|
|
|
375
375
|
/**
|
|
376
376
|
* Asynchronous JavaScript stack trace that preceded this stack, if available.
|
|
377
377
|
*/
|
|
378
|
-
parent?: StackTrace;
|
|
378
|
+
parent?: StackTrace | undefined;
|
|
379
379
|
/**
|
|
380
380
|
* Asynchronous JavaScript stack trace that preceded this stack, if available.
|
|
381
381
|
* @experimental
|
|
382
382
|
*/
|
|
383
|
-
parentId?: StackTraceId;
|
|
383
|
+
parentId?: StackTraceId | undefined;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
/**
|
|
@@ -395,7 +395,7 @@ declare module 'inspector' {
|
|
|
395
395
|
*/
|
|
396
396
|
interface StackTraceId {
|
|
397
397
|
id: string;
|
|
398
|
-
debuggerId?: UniqueDebuggerId;
|
|
398
|
+
debuggerId?: UniqueDebuggerId | undefined;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
interface EvaluateParameterType {
|
|
@@ -406,36 +406,36 @@ declare module 'inspector' {
|
|
|
406
406
|
/**
|
|
407
407
|
* Symbolic group name that can be used to release multiple objects.
|
|
408
408
|
*/
|
|
409
|
-
objectGroup?: string;
|
|
409
|
+
objectGroup?: string | undefined;
|
|
410
410
|
/**
|
|
411
411
|
* Determines whether Command Line API should be available during the evaluation.
|
|
412
412
|
*/
|
|
413
|
-
includeCommandLineAPI?: boolean;
|
|
413
|
+
includeCommandLineAPI?: boolean | undefined;
|
|
414
414
|
/**
|
|
415
415
|
* In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
|
|
416
416
|
*/
|
|
417
|
-
silent?: boolean;
|
|
417
|
+
silent?: boolean | undefined;
|
|
418
418
|
/**
|
|
419
419
|
* Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
|
|
420
420
|
*/
|
|
421
|
-
contextId?: ExecutionContextId;
|
|
421
|
+
contextId?: ExecutionContextId | undefined;
|
|
422
422
|
/**
|
|
423
423
|
* Whether the result is expected to be a JSON object that should be sent by value.
|
|
424
424
|
*/
|
|
425
|
-
returnByValue?: boolean;
|
|
425
|
+
returnByValue?: boolean | undefined;
|
|
426
426
|
/**
|
|
427
427
|
* Whether preview should be generated for the result.
|
|
428
428
|
* @experimental
|
|
429
429
|
*/
|
|
430
|
-
generatePreview?: boolean;
|
|
430
|
+
generatePreview?: boolean | undefined;
|
|
431
431
|
/**
|
|
432
432
|
* Whether execution should be treated as initiated by user in the UI.
|
|
433
433
|
*/
|
|
434
|
-
userGesture?: boolean;
|
|
434
|
+
userGesture?: boolean | undefined;
|
|
435
435
|
/**
|
|
436
436
|
* Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
|
|
437
437
|
*/
|
|
438
|
-
awaitPromise?: boolean;
|
|
438
|
+
awaitPromise?: boolean | undefined;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
interface AwaitPromiseParameterType {
|
|
@@ -446,11 +446,11 @@ declare module 'inspector' {
|
|
|
446
446
|
/**
|
|
447
447
|
* Whether the result is expected to be a JSON object that should be sent by value.
|
|
448
448
|
*/
|
|
449
|
-
returnByValue?: boolean;
|
|
449
|
+
returnByValue?: boolean | undefined;
|
|
450
450
|
/**
|
|
451
451
|
* Whether preview should be generated for the result.
|
|
452
452
|
*/
|
|
453
|
-
generatePreview?: boolean;
|
|
453
|
+
generatePreview?: boolean | undefined;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
456
|
interface CallFunctionOnParameterType {
|
|
@@ -461,40 +461,40 @@ declare module 'inspector' {
|
|
|
461
461
|
/**
|
|
462
462
|
* Identifier of the object to call function on. Either objectId or executionContextId should be specified.
|
|
463
463
|
*/
|
|
464
|
-
objectId?: RemoteObjectId;
|
|
464
|
+
objectId?: RemoteObjectId | undefined;
|
|
465
465
|
/**
|
|
466
466
|
* Call arguments. All call arguments must belong to the same JavaScript world as the target object.
|
|
467
467
|
*/
|
|
468
|
-
arguments?: CallArgument[];
|
|
468
|
+
arguments?: CallArgument[] | undefined;
|
|
469
469
|
/**
|
|
470
470
|
* In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
|
|
471
471
|
*/
|
|
472
|
-
silent?: boolean;
|
|
472
|
+
silent?: boolean | undefined;
|
|
473
473
|
/**
|
|
474
474
|
* Whether the result is expected to be a JSON object which should be sent by value.
|
|
475
475
|
*/
|
|
476
|
-
returnByValue?: boolean;
|
|
476
|
+
returnByValue?: boolean | undefined;
|
|
477
477
|
/**
|
|
478
478
|
* Whether preview should be generated for the result.
|
|
479
479
|
* @experimental
|
|
480
480
|
*/
|
|
481
|
-
generatePreview?: boolean;
|
|
481
|
+
generatePreview?: boolean | undefined;
|
|
482
482
|
/**
|
|
483
483
|
* Whether execution should be treated as initiated by user in the UI.
|
|
484
484
|
*/
|
|
485
|
-
userGesture?: boolean;
|
|
485
|
+
userGesture?: boolean | undefined;
|
|
486
486
|
/**
|
|
487
487
|
* Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
|
|
488
488
|
*/
|
|
489
|
-
awaitPromise?: boolean;
|
|
489
|
+
awaitPromise?: boolean | undefined;
|
|
490
490
|
/**
|
|
491
491
|
* Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
|
|
492
492
|
*/
|
|
493
|
-
executionContextId?: ExecutionContextId;
|
|
493
|
+
executionContextId?: ExecutionContextId | undefined;
|
|
494
494
|
/**
|
|
495
495
|
* Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
|
|
496
496
|
*/
|
|
497
|
-
objectGroup?: string;
|
|
497
|
+
objectGroup?: string | undefined;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
interface GetPropertiesParameterType {
|
|
@@ -505,17 +505,17 @@ declare module 'inspector' {
|
|
|
505
505
|
/**
|
|
506
506
|
* If true, returns properties belonging only to the element itself, not to its prototype chain.
|
|
507
507
|
*/
|
|
508
|
-
ownProperties?: boolean;
|
|
508
|
+
ownProperties?: boolean | undefined;
|
|
509
509
|
/**
|
|
510
510
|
* If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
|
|
511
511
|
* @experimental
|
|
512
512
|
*/
|
|
513
|
-
accessorPropertiesOnly?: boolean;
|
|
513
|
+
accessorPropertiesOnly?: boolean | undefined;
|
|
514
514
|
/**
|
|
515
515
|
* Whether preview should be generated for the results.
|
|
516
516
|
* @experimental
|
|
517
517
|
*/
|
|
518
|
-
generatePreview?: boolean;
|
|
518
|
+
generatePreview?: boolean | undefined;
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
interface ReleaseObjectParameterType {
|
|
@@ -552,7 +552,7 @@ declare module 'inspector' {
|
|
|
552
552
|
/**
|
|
553
553
|
* Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
|
|
554
554
|
*/
|
|
555
|
-
executionContextId?: ExecutionContextId;
|
|
555
|
+
executionContextId?: ExecutionContextId | undefined;
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
interface RunScriptParameterType {
|
|
@@ -563,31 +563,31 @@ declare module 'inspector' {
|
|
|
563
563
|
/**
|
|
564
564
|
* Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
|
|
565
565
|
*/
|
|
566
|
-
executionContextId?: ExecutionContextId;
|
|
566
|
+
executionContextId?: ExecutionContextId | undefined;
|
|
567
567
|
/**
|
|
568
568
|
* Symbolic group name that can be used to release multiple objects.
|
|
569
569
|
*/
|
|
570
|
-
objectGroup?: string;
|
|
570
|
+
objectGroup?: string | undefined;
|
|
571
571
|
/**
|
|
572
572
|
* In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
|
|
573
573
|
*/
|
|
574
|
-
silent?: boolean;
|
|
574
|
+
silent?: boolean | undefined;
|
|
575
575
|
/**
|
|
576
576
|
* Determines whether Command Line API should be available during the evaluation.
|
|
577
577
|
*/
|
|
578
|
-
includeCommandLineAPI?: boolean;
|
|
578
|
+
includeCommandLineAPI?: boolean | undefined;
|
|
579
579
|
/**
|
|
580
580
|
* Whether the result is expected to be a JSON object which should be sent by value.
|
|
581
581
|
*/
|
|
582
|
-
returnByValue?: boolean;
|
|
582
|
+
returnByValue?: boolean | undefined;
|
|
583
583
|
/**
|
|
584
584
|
* Whether preview should be generated for the result.
|
|
585
585
|
*/
|
|
586
|
-
generatePreview?: boolean;
|
|
586
|
+
generatePreview?: boolean | undefined;
|
|
587
587
|
/**
|
|
588
588
|
* Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
|
|
589
589
|
*/
|
|
590
|
-
awaitPromise?: boolean;
|
|
590
|
+
awaitPromise?: boolean | undefined;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
interface QueryObjectsParameterType {
|
|
@@ -601,7 +601,7 @@ declare module 'inspector' {
|
|
|
601
601
|
/**
|
|
602
602
|
* Specifies in which execution context to lookup global scope variables.
|
|
603
603
|
*/
|
|
604
|
-
executionContextId?: ExecutionContextId;
|
|
604
|
+
executionContextId?: ExecutionContextId | undefined;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
interface EvaluateReturnType {
|
|
@@ -612,7 +612,7 @@ declare module 'inspector' {
|
|
|
612
612
|
/**
|
|
613
613
|
* Exception details.
|
|
614
614
|
*/
|
|
615
|
-
exceptionDetails?: ExceptionDetails;
|
|
615
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
interface AwaitPromiseReturnType {
|
|
@@ -623,7 +623,7 @@ declare module 'inspector' {
|
|
|
623
623
|
/**
|
|
624
624
|
* Exception details if stack strace is available.
|
|
625
625
|
*/
|
|
626
|
-
exceptionDetails?: ExceptionDetails;
|
|
626
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
interface CallFunctionOnReturnType {
|
|
@@ -634,7 +634,7 @@ declare module 'inspector' {
|
|
|
634
634
|
/**
|
|
635
635
|
* Exception details.
|
|
636
636
|
*/
|
|
637
|
-
exceptionDetails?: ExceptionDetails;
|
|
637
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
interface GetPropertiesReturnType {
|
|
@@ -645,22 +645,22 @@ declare module 'inspector' {
|
|
|
645
645
|
/**
|
|
646
646
|
* Internal object properties (only of the element itself).
|
|
647
647
|
*/
|
|
648
|
-
internalProperties?: InternalPropertyDescriptor[];
|
|
648
|
+
internalProperties?: InternalPropertyDescriptor[] | undefined;
|
|
649
649
|
/**
|
|
650
650
|
* Exception details.
|
|
651
651
|
*/
|
|
652
|
-
exceptionDetails?: ExceptionDetails;
|
|
652
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
interface CompileScriptReturnType {
|
|
656
656
|
/**
|
|
657
657
|
* Id of the script.
|
|
658
658
|
*/
|
|
659
|
-
scriptId?: ScriptId;
|
|
659
|
+
scriptId?: ScriptId | undefined;
|
|
660
660
|
/**
|
|
661
661
|
* Exception details.
|
|
662
662
|
*/
|
|
663
|
-
exceptionDetails?: ExceptionDetails;
|
|
663
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
interface RunScriptReturnType {
|
|
@@ -671,7 +671,7 @@ declare module 'inspector' {
|
|
|
671
671
|
/**
|
|
672
672
|
* Exception details.
|
|
673
673
|
*/
|
|
674
|
-
exceptionDetails?: ExceptionDetails;
|
|
674
|
+
exceptionDetails?: ExceptionDetails | undefined;
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
interface QueryObjectsReturnType {
|
|
@@ -738,12 +738,12 @@ declare module 'inspector' {
|
|
|
738
738
|
/**
|
|
739
739
|
* Stack trace captured when the call was made.
|
|
740
740
|
*/
|
|
741
|
-
stackTrace?: StackTrace;
|
|
741
|
+
stackTrace?: StackTrace | undefined;
|
|
742
742
|
/**
|
|
743
743
|
* Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
|
|
744
744
|
* @experimental
|
|
745
745
|
*/
|
|
746
|
-
context?: string;
|
|
746
|
+
context?: string | undefined;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
interface InspectRequestedEventDataType {
|
|
@@ -778,7 +778,7 @@ declare module 'inspector' {
|
|
|
778
778
|
/**
|
|
779
779
|
* Column number in the script (0-based).
|
|
780
780
|
*/
|
|
781
|
-
columnNumber?: number;
|
|
781
|
+
columnNumber?: number | undefined;
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
/**
|
|
@@ -805,7 +805,7 @@ declare module 'inspector' {
|
|
|
805
805
|
/**
|
|
806
806
|
* Location in the source code.
|
|
807
807
|
*/
|
|
808
|
-
functionLocation?: Location;
|
|
808
|
+
functionLocation?: Location | undefined;
|
|
809
809
|
/**
|
|
810
810
|
* Location in the source code.
|
|
811
811
|
*/
|
|
@@ -825,7 +825,7 @@ declare module 'inspector' {
|
|
|
825
825
|
/**
|
|
826
826
|
* The value being returned, if the function is at return point.
|
|
827
827
|
*/
|
|
828
|
-
returnValue?: Runtime.RemoteObject;
|
|
828
|
+
returnValue?: Runtime.RemoteObject | undefined;
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
/**
|
|
@@ -840,15 +840,15 @@ declare module 'inspector' {
|
|
|
840
840
|
* Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.
|
|
841
841
|
*/
|
|
842
842
|
object: Runtime.RemoteObject;
|
|
843
|
-
name?: string;
|
|
843
|
+
name?: string | undefined;
|
|
844
844
|
/**
|
|
845
845
|
* Location in the source code where scope starts
|
|
846
846
|
*/
|
|
847
|
-
startLocation?: Location;
|
|
847
|
+
startLocation?: Location | undefined;
|
|
848
848
|
/**
|
|
849
849
|
* Location in the source code where scope ends
|
|
850
850
|
*/
|
|
851
|
-
endLocation?: Location;
|
|
851
|
+
endLocation?: Location | undefined;
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
/**
|
|
@@ -877,8 +877,8 @@ declare module 'inspector' {
|
|
|
877
877
|
/**
|
|
878
878
|
* Column number in the script (0-based).
|
|
879
879
|
*/
|
|
880
|
-
columnNumber?: number;
|
|
881
|
-
type?: string;
|
|
880
|
+
columnNumber?: number | undefined;
|
|
881
|
+
type?: string | undefined;
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
interface SetBreakpointsActiveParameterType {
|
|
@@ -903,23 +903,23 @@ declare module 'inspector' {
|
|
|
903
903
|
/**
|
|
904
904
|
* URL of the resources to set breakpoint on.
|
|
905
905
|
*/
|
|
906
|
-
url?: string;
|
|
906
|
+
url?: string | undefined;
|
|
907
907
|
/**
|
|
908
908
|
* Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified.
|
|
909
909
|
*/
|
|
910
|
-
urlRegex?: string;
|
|
910
|
+
urlRegex?: string | undefined;
|
|
911
911
|
/**
|
|
912
912
|
* Script hash of the resources to set breakpoint on.
|
|
913
913
|
*/
|
|
914
|
-
scriptHash?: string;
|
|
914
|
+
scriptHash?: string | undefined;
|
|
915
915
|
/**
|
|
916
916
|
* Offset in the line to set breakpoint at.
|
|
917
917
|
*/
|
|
918
|
-
columnNumber?: number;
|
|
918
|
+
columnNumber?: number | undefined;
|
|
919
919
|
/**
|
|
920
920
|
* Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
|
|
921
921
|
*/
|
|
922
|
-
condition?: string;
|
|
922
|
+
condition?: string | undefined;
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
interface SetBreakpointParameterType {
|
|
@@ -930,7 +930,7 @@ declare module 'inspector' {
|
|
|
930
930
|
/**
|
|
931
931
|
* Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
|
|
932
932
|
*/
|
|
933
|
-
condition?: string;
|
|
933
|
+
condition?: string | undefined;
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
interface RemoveBreakpointParameterType {
|
|
@@ -945,11 +945,11 @@ declare module 'inspector' {
|
|
|
945
945
|
/**
|
|
946
946
|
* End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.
|
|
947
947
|
*/
|
|
948
|
-
end?: Location;
|
|
948
|
+
end?: Location | undefined;
|
|
949
949
|
/**
|
|
950
950
|
* Only consider locations which are in the same (non-nested) function as start.
|
|
951
951
|
*/
|
|
952
|
-
restrictToFunction?: boolean;
|
|
952
|
+
restrictToFunction?: boolean | undefined;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
interface ContinueToLocationParameterType {
|
|
@@ -957,7 +957,7 @@ declare module 'inspector' {
|
|
|
957
957
|
* Location to continue to.
|
|
958
958
|
*/
|
|
959
959
|
location: Location;
|
|
960
|
-
targetCallFrames?: string;
|
|
960
|
+
targetCallFrames?: string | undefined;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
interface PauseOnAsyncCallParameterType {
|
|
@@ -972,7 +972,7 @@ declare module 'inspector' {
|
|
|
972
972
|
* Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause.
|
|
973
973
|
* @experimental
|
|
974
974
|
*/
|
|
975
|
-
breakOnAsyncCall?: boolean;
|
|
975
|
+
breakOnAsyncCall?: boolean | undefined;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
interface GetStackTraceParameterType {
|
|
@@ -991,11 +991,11 @@ declare module 'inspector' {
|
|
|
991
991
|
/**
|
|
992
992
|
* If true, search is case sensitive.
|
|
993
993
|
*/
|
|
994
|
-
caseSensitive?: boolean;
|
|
994
|
+
caseSensitive?: boolean | undefined;
|
|
995
995
|
/**
|
|
996
996
|
* If true, treats string parameter as regex.
|
|
997
997
|
*/
|
|
998
|
-
isRegex?: boolean;
|
|
998
|
+
isRegex?: boolean | undefined;
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
interface SetScriptSourceParameterType {
|
|
@@ -1010,7 +1010,7 @@ declare module 'inspector' {
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
|
|
1012
1012
|
*/
|
|
1013
|
-
dryRun?: boolean;
|
|
1013
|
+
dryRun?: boolean | undefined;
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
1016
|
interface RestartFrameParameterType {
|
|
@@ -1046,28 +1046,28 @@ declare module 'inspector' {
|
|
|
1046
1046
|
/**
|
|
1047
1047
|
* String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>).
|
|
1048
1048
|
*/
|
|
1049
|
-
objectGroup?: string;
|
|
1049
|
+
objectGroup?: string | undefined;
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Specifies whether command line API should be available to the evaluated expression, defaults to false.
|
|
1052
1052
|
*/
|
|
1053
|
-
includeCommandLineAPI?: boolean;
|
|
1053
|
+
includeCommandLineAPI?: boolean | undefined;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
|
|
1056
1056
|
*/
|
|
1057
|
-
silent?: boolean;
|
|
1057
|
+
silent?: boolean | undefined;
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Whether the result is expected to be a JSON object that should be sent by value.
|
|
1060
1060
|
*/
|
|
1061
|
-
returnByValue?: boolean;
|
|
1061
|
+
returnByValue?: boolean | undefined;
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Whether preview should be generated for the result.
|
|
1064
1064
|
* @experimental
|
|
1065
1065
|
*/
|
|
1066
|
-
generatePreview?: boolean;
|
|
1066
|
+
generatePreview?: boolean | undefined;
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
|
1069
1069
|
*/
|
|
1070
|
-
throwOnSideEffect?: boolean;
|
|
1070
|
+
throwOnSideEffect?: boolean | undefined;
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
interface SetVariableValueParameterType {
|
|
@@ -1170,24 +1170,24 @@ declare module 'inspector' {
|
|
|
1170
1170
|
/**
|
|
1171
1171
|
* New stack trace in case editing has happened while VM was stopped.
|
|
1172
1172
|
*/
|
|
1173
|
-
callFrames?: CallFrame[];
|
|
1173
|
+
callFrames?: CallFrame[] | undefined;
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Whether current call stack was modified after applying the changes.
|
|
1176
1176
|
*/
|
|
1177
|
-
stackChanged?: boolean;
|
|
1177
|
+
stackChanged?: boolean | undefined;
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Async stack trace, if any.
|
|
1180
1180
|
*/
|
|
1181
|
-
asyncStackTrace?: Runtime.StackTrace;
|
|
1181
|
+
asyncStackTrace?: Runtime.StackTrace | undefined;
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Async stack trace, if any.
|
|
1184
1184
|
* @experimental
|
|
1185
1185
|
*/
|
|
1186
|
-
asyncStackTraceId?: Runtime.StackTraceId;
|
|
1186
|
+
asyncStackTraceId?: Runtime.StackTraceId | undefined;
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Exception details if any.
|
|
1189
1189
|
*/
|
|
1190
|
-
exceptionDetails?: Runtime.ExceptionDetails;
|
|
1190
|
+
exceptionDetails?: Runtime.ExceptionDetails | undefined;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
1193
|
interface RestartFrameReturnType {
|
|
@@ -1198,12 +1198,12 @@ declare module 'inspector' {
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Async stack trace, if any.
|
|
1200
1200
|
*/
|
|
1201
|
-
asyncStackTrace?: Runtime.StackTrace;
|
|
1201
|
+
asyncStackTrace?: Runtime.StackTrace | undefined;
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Async stack trace, if any.
|
|
1204
1204
|
* @experimental
|
|
1205
1205
|
*/
|
|
1206
|
-
asyncStackTraceId?: Runtime.StackTraceId;
|
|
1206
|
+
asyncStackTraceId?: Runtime.StackTraceId | undefined;
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
1209
|
interface GetScriptSourceReturnType {
|
|
@@ -1221,7 +1221,7 @@ declare module 'inspector' {
|
|
|
1221
1221
|
/**
|
|
1222
1222
|
* Exception details.
|
|
1223
1223
|
*/
|
|
1224
|
-
exceptionDetails?: Runtime.ExceptionDetails;
|
|
1224
|
+
exceptionDetails?: Runtime.ExceptionDetails | undefined;
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
interface ScriptParsedEventDataType {
|
|
@@ -1260,33 +1260,33 @@ declare module 'inspector' {
|
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Embedder-specific auxiliary data.
|
|
1262
1262
|
*/
|
|
1263
|
-
executionContextAuxData?: {};
|
|
1263
|
+
executionContextAuxData?: {} | undefined;
|
|
1264
1264
|
/**
|
|
1265
1265
|
* True, if this script is generated as a result of the live edit operation.
|
|
1266
1266
|
* @experimental
|
|
1267
1267
|
*/
|
|
1268
|
-
isLiveEdit?: boolean;
|
|
1268
|
+
isLiveEdit?: boolean | undefined;
|
|
1269
1269
|
/**
|
|
1270
1270
|
* URL of source map associated with script (if any).
|
|
1271
1271
|
*/
|
|
1272
|
-
sourceMapURL?: string;
|
|
1272
|
+
sourceMapURL?: string | undefined;
|
|
1273
1273
|
/**
|
|
1274
1274
|
* True, if this script has sourceURL.
|
|
1275
1275
|
*/
|
|
1276
|
-
hasSourceURL?: boolean;
|
|
1276
|
+
hasSourceURL?: boolean | undefined;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* True, if this script is ES6 module.
|
|
1279
1279
|
*/
|
|
1280
|
-
isModule?: boolean;
|
|
1280
|
+
isModule?: boolean | undefined;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* This script length.
|
|
1283
1283
|
*/
|
|
1284
|
-
length?: number;
|
|
1284
|
+
length?: number | undefined;
|
|
1285
1285
|
/**
|
|
1286
1286
|
* JavaScript top stack frame of where the script parsed event was triggered if available.
|
|
1287
1287
|
* @experimental
|
|
1288
1288
|
*/
|
|
1289
|
-
stackTrace?: Runtime.StackTrace;
|
|
1289
|
+
stackTrace?: Runtime.StackTrace | undefined;
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
interface ScriptFailedToParseEventDataType {
|
|
@@ -1325,28 +1325,28 @@ declare module 'inspector' {
|
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Embedder-specific auxiliary data.
|
|
1327
1327
|
*/
|
|
1328
|
-
executionContextAuxData?: {};
|
|
1328
|
+
executionContextAuxData?: {} | undefined;
|
|
1329
1329
|
/**
|
|
1330
1330
|
* URL of source map associated with script (if any).
|
|
1331
1331
|
*/
|
|
1332
|
-
sourceMapURL?: string;
|
|
1332
|
+
sourceMapURL?: string | undefined;
|
|
1333
1333
|
/**
|
|
1334
1334
|
* True, if this script has sourceURL.
|
|
1335
1335
|
*/
|
|
1336
|
-
hasSourceURL?: boolean;
|
|
1336
|
+
hasSourceURL?: boolean | undefined;
|
|
1337
1337
|
/**
|
|
1338
1338
|
* True, if this script is ES6 module.
|
|
1339
1339
|
*/
|
|
1340
|
-
isModule?: boolean;
|
|
1340
|
+
isModule?: boolean | undefined;
|
|
1341
1341
|
/**
|
|
1342
1342
|
* This script length.
|
|
1343
1343
|
*/
|
|
1344
|
-
length?: number;
|
|
1344
|
+
length?: number | undefined;
|
|
1345
1345
|
/**
|
|
1346
1346
|
* JavaScript top stack frame of where the script parsed event was triggered if available.
|
|
1347
1347
|
* @experimental
|
|
1348
1348
|
*/
|
|
1349
|
-
stackTrace?: Runtime.StackTrace;
|
|
1349
|
+
stackTrace?: Runtime.StackTrace | undefined;
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
1352
|
interface BreakpointResolvedEventDataType {
|
|
@@ -1372,25 +1372,25 @@ declare module 'inspector' {
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Object containing break-specific auxiliary properties.
|
|
1374
1374
|
*/
|
|
1375
|
-
data?: {};
|
|
1375
|
+
data?: {} | undefined;
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Hit breakpoints IDs
|
|
1378
1378
|
*/
|
|
1379
|
-
hitBreakpoints?: string[];
|
|
1379
|
+
hitBreakpoints?: string[] | undefined;
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Async stack trace, if any.
|
|
1382
1382
|
*/
|
|
1383
|
-
asyncStackTrace?: Runtime.StackTrace;
|
|
1383
|
+
asyncStackTrace?: Runtime.StackTrace | undefined;
|
|
1384
1384
|
/**
|
|
1385
1385
|
* Async stack trace, if any.
|
|
1386
1386
|
* @experimental
|
|
1387
1387
|
*/
|
|
1388
|
-
asyncStackTraceId?: Runtime.StackTraceId;
|
|
1388
|
+
asyncStackTraceId?: Runtime.StackTraceId | undefined;
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after <code>Debugger.stepInto</code> call with <code>breakOnAsynCall</code> flag.
|
|
1391
1391
|
* @experimental
|
|
1392
1392
|
*/
|
|
1393
|
-
asyncCallStackTraceId?: Runtime.StackTraceId;
|
|
1393
|
+
asyncCallStackTraceId?: Runtime.StackTraceId | undefined;
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
@@ -1414,15 +1414,15 @@ declare module 'inspector' {
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* URL of the message origin.
|
|
1416
1416
|
*/
|
|
1417
|
-
url?: string;
|
|
1417
|
+
url?: string | undefined;
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Line number in the resource that generated this message (1-based).
|
|
1420
1420
|
*/
|
|
1421
|
-
line?: number;
|
|
1421
|
+
line?: number | undefined;
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Column number in the resource that generated this message (1-based).
|
|
1424
1424
|
*/
|
|
1425
|
-
column?: number;
|
|
1425
|
+
column?: number | undefined;
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
1428
1428
|
interface MessageAddedEventDataType {
|
|
@@ -1449,19 +1449,19 @@ declare module 'inspector' {
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Number of samples where this node was on top of the call stack.
|
|
1451
1451
|
*/
|
|
1452
|
-
hitCount?: number;
|
|
1452
|
+
hitCount?: number | undefined;
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Child node ids.
|
|
1455
1455
|
*/
|
|
1456
|
-
children?: number[];
|
|
1456
|
+
children?: number[] | undefined;
|
|
1457
1457
|
/**
|
|
1458
1458
|
* The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
|
|
1459
1459
|
*/
|
|
1460
|
-
deoptReason?: string;
|
|
1460
|
+
deoptReason?: string | undefined;
|
|
1461
1461
|
/**
|
|
1462
1462
|
* An array of source position ticks.
|
|
1463
1463
|
*/
|
|
1464
|
-
positionTicks?: PositionTickInfo[];
|
|
1464
|
+
positionTicks?: PositionTickInfo[] | undefined;
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
1467
|
/**
|
|
@@ -1483,11 +1483,11 @@ declare module 'inspector' {
|
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Ids of samples top nodes.
|
|
1485
1485
|
*/
|
|
1486
|
-
samples?: number[];
|
|
1486
|
+
samples?: number[] | undefined;
|
|
1487
1487
|
/**
|
|
1488
1488
|
* Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
|
|
1489
1489
|
*/
|
|
1490
|
-
timeDeltas?: number[];
|
|
1490
|
+
timeDeltas?: number[] | undefined;
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
1493
|
/**
|
|
@@ -1614,11 +1614,11 @@ declare module 'inspector' {
|
|
|
1614
1614
|
/**
|
|
1615
1615
|
* Collect accurate call counts beyond simple 'covered' or 'not covered'.
|
|
1616
1616
|
*/
|
|
1617
|
-
callCount?: boolean;
|
|
1617
|
+
callCount?: boolean | undefined;
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Collect block-based coverage.
|
|
1620
1620
|
*/
|
|
1621
|
-
detailed?: boolean;
|
|
1621
|
+
detailed?: boolean | undefined;
|
|
1622
1622
|
}
|
|
1623
1623
|
|
|
1624
1624
|
interface StopReturnType {
|
|
@@ -1658,7 +1658,7 @@ declare module 'inspector' {
|
|
|
1658
1658
|
/**
|
|
1659
1659
|
* Profile title passed as an argument to console.profile().
|
|
1660
1660
|
*/
|
|
1661
|
-
title?: string;
|
|
1661
|
+
title?: string | undefined;
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
1664
|
interface ConsoleProfileFinishedEventDataType {
|
|
@@ -1671,7 +1671,7 @@ declare module 'inspector' {
|
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Profile title passed as an argument to console.profile().
|
|
1673
1673
|
*/
|
|
1674
|
-
title?: string;
|
|
1674
|
+
title?: string | undefined;
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
@@ -1707,21 +1707,21 @@ declare module 'inspector' {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
interface StartTrackingHeapObjectsParameterType {
|
|
1710
|
-
trackAllocations?: boolean;
|
|
1710
|
+
trackAllocations?: boolean | undefined;
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
1713
|
interface StopTrackingHeapObjectsParameterType {
|
|
1714
1714
|
/**
|
|
1715
1715
|
* If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
|
|
1716
1716
|
*/
|
|
1717
|
-
reportProgress?: boolean;
|
|
1717
|
+
reportProgress?: boolean | undefined;
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
1720
|
interface TakeHeapSnapshotParameterType {
|
|
1721
1721
|
/**
|
|
1722
1722
|
* If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
|
|
1723
1723
|
*/
|
|
1724
|
-
reportProgress?: boolean;
|
|
1724
|
+
reportProgress?: boolean | undefined;
|
|
1725
1725
|
}
|
|
1726
1726
|
|
|
1727
1727
|
interface GetObjectByHeapObjectIdParameterType {
|
|
@@ -1729,7 +1729,7 @@ declare module 'inspector' {
|
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Symbolic group name that can be used to release multiple objects.
|
|
1731
1731
|
*/
|
|
1732
|
-
objectGroup?: string;
|
|
1732
|
+
objectGroup?: string | undefined;
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
1735
|
interface AddInspectedHeapObjectParameterType {
|
|
@@ -1750,7 +1750,7 @@ declare module 'inspector' {
|
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
|
|
1752
1752
|
*/
|
|
1753
|
-
samplingInterval?: number;
|
|
1753
|
+
samplingInterval?: number | undefined;
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
1756
|
interface GetObjectByHeapObjectIdReturnType {
|
|
@@ -1788,7 +1788,7 @@ declare module 'inspector' {
|
|
|
1788
1788
|
interface ReportHeapSnapshotProgressEventDataType {
|
|
1789
1789
|
done: number;
|
|
1790
1790
|
total: number;
|
|
1791
|
-
finished?: boolean;
|
|
1791
|
+
finished?: boolean | undefined;
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
1794
|
interface LastSeenObjectIdEventDataType {
|