@typescript-deploys/pr-build 4.5.0-pr-46071-5 → 4.5.0-pr-46071-13

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.
package/lib/lib.dom.d.ts CHANGED
@@ -797,6 +797,7 @@ interface MediaStreamAudioSourceOptions {
797
797
  interface MediaStreamConstraints {
798
798
  audio?: boolean | MediaTrackConstraints;
799
799
  peerIdentity?: string;
800
+ preferCurrentTab?: boolean;
800
801
  video?: boolean | MediaTrackConstraints;
801
802
  }
802
803
 
@@ -898,33 +899,19 @@ interface MultiCacheQueryOptions extends CacheQueryOptions {
898
899
  }
899
900
 
900
901
  interface MutationObserverInit {
901
- /**
902
- * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.
903
- */
902
+ /** Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. */
904
903
  attributeFilter?: string[];
905
- /**
906
- * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded.
907
- */
904
+ /** Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. */
908
905
  attributeOldValue?: boolean;
909
- /**
910
- * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.
911
- */
906
+ /** Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */
912
907
  attributes?: boolean;
913
- /**
914
- * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified.
915
- */
908
+ /** Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. */
916
909
  characterData?: boolean;
917
- /**
918
- * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded.
919
- */
910
+ /** Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. */
920
911
  characterDataOldValue?: boolean;
921
- /**
922
- * Set to true if mutations to target's children are to be observed.
923
- */
912
+ /** Set to true if mutations to target's children are to be observed. */
924
913
  childList?: boolean;
925
- /**
926
- * Set to true if mutations to not just target, but also target's descendants are to be observed.
927
- */
914
+ /** Set to true if mutations to not just target, but also target's descendants are to be observed. */
928
915
  subtree?: boolean;
929
916
  }
930
917
 
@@ -1114,10 +1101,6 @@ interface PositionOptions {
1114
1101
  timeout?: number;
1115
1102
  }
1116
1103
 
1117
- interface PostMessageOptions {
1118
- transfer?: any[];
1119
- }
1120
-
1121
1104
  interface ProgressEventInit extends EventInit {
1122
1105
  lengthComputable?: boolean;
1123
1106
  loaded?: number;
@@ -1475,57 +1458,31 @@ interface RegistrationOptions {
1475
1458
  }
1476
1459
 
1477
1460
  interface RequestInit {
1478
- /**
1479
- * A BodyInit object or null to set request's body.
1480
- */
1461
+ /** A BodyInit object or null to set request's body. */
1481
1462
  body?: BodyInit | null;
1482
- /**
1483
- * A string indicating how the request will interact with the browser's cache to set request's cache.
1484
- */
1463
+ /** A string indicating how the request will interact with the browser's cache to set request's cache. */
1485
1464
  cache?: RequestCache;
1486
- /**
1487
- * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials.
1488
- */
1465
+ /** A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. */
1489
1466
  credentials?: RequestCredentials;
1490
- /**
1491
- * A Headers object, an object literal, or an array of two-item arrays to set request's headers.
1492
- */
1467
+ /** A Headers object, an object literal, or an array of two-item arrays to set request's headers. */
1493
1468
  headers?: HeadersInit;
1494
- /**
1495
- * A cryptographic hash of the resource to be fetched by request. Sets request's integrity.
1496
- */
1469
+ /** A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */
1497
1470
  integrity?: string;
1498
- /**
1499
- * A boolean to set request's keepalive.
1500
- */
1471
+ /** A boolean to set request's keepalive. */
1501
1472
  keepalive?: boolean;
1502
- /**
1503
- * A string to set request's method.
1504
- */
1473
+ /** A string to set request's method. */
1505
1474
  method?: string;
1506
- /**
1507
- * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode.
1508
- */
1475
+ /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
1509
1476
  mode?: RequestMode;
1510
- /**
1511
- * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect.
1512
- */
1477
+ /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
1513
1478
  redirect?: RequestRedirect;
1514
- /**
1515
- * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer.
1516
- */
1479
+ /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
1517
1480
  referrer?: string;
1518
- /**
1519
- * A referrer policy to set request's referrerPolicy.
1520
- */
1481
+ /** A referrer policy to set request's referrerPolicy. */
1521
1482
  referrerPolicy?: ReferrerPolicy;
1522
- /**
1523
- * An AbortSignal to set request's signal.
1524
- */
1483
+ /** An AbortSignal to set request's signal. */
1525
1484
  signal?: AbortSignal | null;
1526
- /**
1527
- * Can only be null. Used to disassociate request from any Window.
1528
- */
1485
+ /** Can only be null. Used to disassociate request from any Window. */
1529
1486
  window?: any;
1530
1487
  }
1531
1488
 
@@ -1684,6 +1641,10 @@ interface StreamPipeOptions {
1684
1641
  signal?: AbortSignal;
1685
1642
  }
1686
1643
 
1644
+ interface StructuredSerializeOptions {
1645
+ transfer?: any[];
1646
+ }
1647
+
1687
1648
  interface SubmitEventInit extends EventInit {
1688
1649
  submitter?: HTMLElement | null;
1689
1650
  }
@@ -1811,7 +1772,7 @@ interface WheelEventInit extends MouseEventInit {
1811
1772
  deltaZ?: number;
1812
1773
  }
1813
1774
 
1814
- interface WindowPostMessageOptions extends PostMessageOptions {
1775
+ interface WindowPostMessageOptions extends StructuredSerializeOptions {
1815
1776
  targetOrigin?: string;
1816
1777
  }
1817
1778
 
@@ -1897,13 +1858,9 @@ interface ARIAMixin {
1897
1858
 
1898
1859
  /** A controller object that allows you to abort one or more DOM requests as and when desired. */
1899
1860
  interface AbortController {
1900
- /**
1901
- * Returns the AbortSignal object associated with this object.
1902
- */
1861
+ /** Returns the AbortSignal object associated with this object. */
1903
1862
  readonly signal: AbortSignal;
1904
- /**
1905
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
1906
- */
1863
+ /** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
1907
1864
  abort(): void;
1908
1865
  }
1909
1866
 
@@ -1918,9 +1875,7 @@ interface AbortSignalEventMap {
1918
1875
 
1919
1876
  /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
1920
1877
  interface AbortSignal extends EventTarget {
1921
- /**
1922
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
1923
- */
1878
+ /** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
1924
1879
  readonly aborted: boolean;
1925
1880
  onabort: ((this: AbortSignal, ev: Event) => any) | null;
1926
1881
  addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -1932,28 +1887,19 @@ interface AbortSignal extends EventTarget {
1932
1887
  declare var AbortSignal: {
1933
1888
  prototype: AbortSignal;
1934
1889
  new(): AbortSignal;
1890
+ // abort(): AbortSignal;
1935
1891
  };
1936
1892
 
1937
1893
  interface AbstractRange {
1938
- /**
1939
- * Returns true if range is collapsed, and false otherwise.
1940
- */
1894
+ /** Returns true if range is collapsed, and false otherwise. */
1941
1895
  readonly collapsed: boolean;
1942
- /**
1943
- * Returns range's end node.
1944
- */
1896
+ /** Returns range's end node. */
1945
1897
  readonly endContainer: Node;
1946
- /**
1947
- * Returns range's end offset.
1948
- */
1898
+ /** Returns range's end offset. */
1949
1899
  readonly endOffset: number;
1950
- /**
1951
- * Returns range's start node.
1952
- */
1900
+ /** Returns range's start node. */
1953
1901
  readonly startContainer: Node;
1954
- /**
1955
- * Returns range's start offset.
1956
- */
1902
+ /** Returns range's start offset. */
1957
1903
  readonly startOffset: number;
1958
1904
  }
1959
1905
 
@@ -2456,19 +2402,13 @@ interface BroadcastChannelEventMap {
2456
2402
  }
2457
2403
 
2458
2404
  interface BroadcastChannel extends EventTarget {
2459
- /**
2460
- * Returns the channel name (as passed to the constructor).
2461
- */
2405
+ /** Returns the channel name (as passed to the constructor). */
2462
2406
  readonly name: string;
2463
2407
  onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;
2464
2408
  onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;
2465
- /**
2466
- * Closes the BroadcastChannel object, opening it up to garbage collection.
2467
- */
2409
+ /** Closes the BroadcastChannel object, opening it up to garbage collection. */
2468
2410
  close(): void;
2469
- /**
2470
- * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.
2471
- */
2411
+ /** Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. */
2472
2412
  postMessage(message: any): void;
2473
2413
  addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2474
2414
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -3378,9 +3318,7 @@ interface CanvasPathDrawingStyles {
3378
3318
 
3379
3319
  /** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
3380
3320
  interface CanvasPattern {
3381
- /**
3382
- * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.
3383
- */
3321
+ /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */
3384
3322
  setTransform(transform?: DOMMatrix2DInit): void;
3385
3323
  }
3386
3324
 
@@ -3495,9 +3433,7 @@ interface ChildNode extends Node {
3495
3433
  * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
3496
3434
  */
3497
3435
  before(...nodes: (Node | string)[]): void;
3498
- /**
3499
- * Removes node.
3500
- */
3436
+ /** Removes node. */
3501
3437
  remove(): void;
3502
3438
  /**
3503
3439
  * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
@@ -3540,22 +3476,16 @@ interface ClipboardItem {
3540
3476
 
3541
3477
  declare var ClipboardItem: {
3542
3478
  prototype: ClipboardItem;
3543
- new(items: Record<string, ClipboardItemData>, options?: ClipboardItemOptions): ClipboardItem;
3479
+ new(items: Record<string, ClipboardItemDataType | PromiseLike<ClipboardItemDataType>>, options?: ClipboardItemOptions): ClipboardItem;
3544
3480
  };
3545
3481
 
3546
3482
  /** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
3547
3483
  interface CloseEvent extends Event {
3548
- /**
3549
- * Returns the WebSocket connection close code provided by the server.
3550
- */
3484
+ /** Returns the WebSocket connection close code provided by the server. */
3551
3485
  readonly code: number;
3552
- /**
3553
- * Returns the WebSocket connection close reason provided by the server.
3554
- */
3486
+ /** Returns the WebSocket connection close reason provided by the server. */
3555
3487
  readonly reason: string;
3556
- /**
3557
- * Returns true if the connection closed cleanly; false otherwise.
3558
- */
3488
+ /** Returns true if the connection closed cleanly; false otherwise. */
3559
3489
  readonly wasClean: boolean;
3560
3490
  }
3561
3491
 
@@ -3679,9 +3609,7 @@ declare var CustomElementRegistry: {
3679
3609
  };
3680
3610
 
3681
3611
  interface CustomEvent<T = any> extends Event {
3682
- /**
3683
- * Returns any custom data event was created with. Typically used for synthetic events.
3684
- */
3612
+ /** Returns any custom data event was created with. Typically used for synthetic events. */
3685
3613
  readonly detail: T;
3686
3614
  /** @deprecated */
3687
3615
  initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void;
@@ -3693,7 +3621,7 @@ declare var CustomEvent: {
3693
3621
  };
3694
3622
 
3695
3623
  /** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
3696
- interface DOMException {
3624
+ interface DOMException extends Error {
3697
3625
  readonly code: number;
3698
3626
  readonly message: string;
3699
3627
  readonly name: string;
@@ -3987,17 +3915,11 @@ declare var DOMRectReadOnly: {
3987
3915
 
3988
3916
  /** A type returned by some APIs which contains a list of DOMString (strings). */
3989
3917
  interface DOMStringList {
3990
- /**
3991
- * Returns the number of strings in strings.
3992
- */
3918
+ /** Returns the number of strings in strings. */
3993
3919
  readonly length: number;
3994
- /**
3995
- * Returns true if strings contains string, and false otherwise.
3996
- */
3920
+ /** Returns true if strings contains string, and false otherwise. */
3997
3921
  contains(string: string): boolean;
3998
- /**
3999
- * Returns the string with index index from strings.
4000
- */
3922
+ /** Returns the string with index index from strings. */
4001
3923
  item(index: number): string | null;
4002
3924
  [index: number]: string;
4003
3925
  }
@@ -4019,9 +3941,7 @@ declare var DOMStringMap: {
4019
3941
 
4020
3942
  /** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */
4021
3943
  interface DOMTokenList {
4022
- /**
4023
- * Returns the number of tokens.
4024
- */
3944
+ /** Returns the number of tokens. */
4025
3945
  readonly length: number;
4026
3946
  /**
4027
3947
  * Returns the associated set as string.
@@ -4038,13 +3958,9 @@ interface DOMTokenList {
4038
3958
  * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.
4039
3959
  */
4040
3960
  add(...tokens: string[]): void;
4041
- /**
4042
- * Returns true if token is present, and false otherwise.
4043
- */
3961
+ /** Returns true if token is present, and false otherwise. */
4044
3962
  contains(token: string): boolean;
4045
- /**
4046
- * Returns the token with index index.
4047
- */
3963
+ /** Returns the token with index index. */
4048
3964
  item(index: number): string | null;
4049
3965
  /**
4050
3966
  * Removes arguments passed, if they are present.
@@ -4107,33 +4023,19 @@ interface DataTransfer {
4107
4023
  * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",
4108
4024
  */
4109
4025
  effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";
4110
- /**
4111
- * Returns a FileList of the files being dragged, if any.
4112
- */
4026
+ /** Returns a FileList of the files being dragged, if any. */
4113
4027
  readonly files: FileList;
4114
- /**
4115
- * Returns a DataTransferItemList object, with the drag data.
4116
- */
4028
+ /** Returns a DataTransferItemList object, with the drag data. */
4117
4029
  readonly items: DataTransferItemList;
4118
- /**
4119
- * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files".
4120
- */
4030
+ /** Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". */
4121
4031
  readonly types: ReadonlyArray<string>;
4122
- /**
4123
- * Removes the data of the specified formats. Removes all data if the argument is omitted.
4124
- */
4032
+ /** Removes the data of the specified formats. Removes all data if the argument is omitted. */
4125
4033
  clearData(format?: string): void;
4126
- /**
4127
- * Returns the specified data. If there is no such data, returns the empty string.
4128
- */
4034
+ /** Returns the specified data. If there is no such data, returns the empty string. */
4129
4035
  getData(format: string): string;
4130
- /**
4131
- * Adds the specified data.
4132
- */
4036
+ /** Adds the specified data. */
4133
4037
  setData(format: string, data: string): void;
4134
- /**
4135
- * Uses the given element to update the drag feedback, replacing any previously specified feedback.
4136
- */
4038
+ /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */
4137
4039
  setDragImage(image: Element, x: number, y: number): void;
4138
4040
  }
4139
4041
 
@@ -4144,21 +4046,13 @@ declare var DataTransfer: {
4144
4046
 
4145
4047
  /** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */
4146
4048
  interface DataTransferItem {
4147
- /**
4148
- * Returns the drag data item kind, one of: "string", "file".
4149
- */
4049
+ /** Returns the drag data item kind, one of: "string", "file". */
4150
4050
  readonly kind: string;
4151
- /**
4152
- * Returns the drag data item type string.
4153
- */
4051
+ /** Returns the drag data item type string. */
4154
4052
  readonly type: string;
4155
- /**
4156
- * Returns a File object, if the drag data item kind is File.
4157
- */
4053
+ /** Returns a File object, if the drag data item kind is File. */
4158
4054
  getAsFile(): File | null;
4159
- /**
4160
- * Invokes the callback with the string data as the argument, if the drag data item kind is text.
4161
- */
4055
+ /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */
4162
4056
  getAsString(callback: FunctionStringCallback | null): void;
4163
4057
  webkitGetAsEntry(): FileSystemEntry | null;
4164
4058
  }
@@ -4170,22 +4064,14 @@ declare var DataTransferItem: {
4170
4064
 
4171
4065
  /** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */
4172
4066
  interface DataTransferItemList {
4173
- /**
4174
- * Returns the number of items in the drag data store.
4175
- */
4067
+ /** Returns the number of items in the drag data store. */
4176
4068
  readonly length: number;
4177
- /**
4178
- * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.
4179
- */
4069
+ /** Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. */
4180
4070
  add(data: string, type: string): DataTransferItem | null;
4181
4071
  add(data: File): DataTransferItem | null;
4182
- /**
4183
- * Removes all the entries in the drag data store.
4184
- */
4072
+ /** Removes all the entries in the drag data store. */
4185
4073
  clear(): void;
4186
- /**
4187
- * Removes the indexth entry in the drag data store.
4188
- */
4074
+ /** Removes the indexth entry in the drag data store. */
4189
4075
  remove(index: number): void;
4190
4076
  [index: number]: DataTransferItem;
4191
4077
  }
@@ -4254,9 +4140,7 @@ interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, Glob
4254
4140
 
4255
4141
  /** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */
4256
4142
  interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {
4257
- /**
4258
- * Sets or gets the URL for the current document.
4259
- */
4143
+ /** Sets or gets the URL for the current document. */
4260
4144
  readonly URL: string;
4261
4145
  /**
4262
4146
  * Sets or gets the color of all active links in the document.
@@ -4283,26 +4167,18 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4283
4167
  * @deprecated
4284
4168
  */
4285
4169
  bgColor: string;
4286
- /**
4287
- * Specifies the beginning and end of the document body.
4288
- */
4170
+ /** Specifies the beginning and end of the document body. */
4289
4171
  body: HTMLElement;
4290
- /**
4291
- * Returns document's encoding.
4292
- */
4172
+ /** Returns document's encoding. */
4293
4173
  readonly characterSet: string;
4294
4174
  /**
4295
4175
  * Gets or sets the character set used to encode the object.
4296
4176
  * @deprecated This is a legacy alias of `characterSet`.
4297
4177
  */
4298
4178
  readonly charset: string;
4299
- /**
4300
- * Gets a value that indicates whether standards-compliant mode is switched on for the object.
4301
- */
4179
+ /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */
4302
4180
  readonly compatMode: string;
4303
- /**
4304
- * Returns document's content type.
4305
- */
4181
+ /** Returns document's content type. */
4306
4182
  readonly contentType: string;
4307
4183
  /**
4308
4184
  * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.
@@ -4318,87 +4194,55 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4318
4194
  * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.
4319
4195
  */
4320
4196
  readonly currentScript: HTMLOrSVGScriptElement | null;
4321
- /**
4322
- * Returns the Window object of the active document.
4323
- */
4197
+ /** Returns the Window object of the active document. */
4324
4198
  readonly defaultView: (WindowProxy & typeof globalThis) | null;
4325
- /**
4326
- * Sets or gets a value that indicates whether the document can be edited.
4327
- */
4199
+ /** Sets or gets a value that indicates whether the document can be edited. */
4328
4200
  designMode: string;
4329
- /**
4330
- * Sets or retrieves a value that indicates the reading order of the object.
4331
- */
4201
+ /** Sets or retrieves a value that indicates the reading order of the object. */
4332
4202
  dir: string;
4333
- /**
4334
- * Gets an object representing the document type declaration associated with the current document.
4335
- */
4203
+ /** Gets an object representing the document type declaration associated with the current document. */
4336
4204
  readonly doctype: DocumentType | null;
4337
- /**
4338
- * Gets a reference to the root node of the document.
4339
- */
4205
+ /** Gets a reference to the root node of the document. */
4340
4206
  readonly documentElement: HTMLElement;
4341
- /**
4342
- * Returns document's URL.
4343
- */
4207
+ /** Returns document's URL. */
4344
4208
  readonly documentURI: string;
4345
- /**
4346
- * Sets or gets the security domain of the document.
4347
- */
4209
+ /** Sets or gets the security domain of the document. */
4348
4210
  domain: string;
4349
- /**
4350
- * Retrieves a collection of all embed objects in the document.
4351
- */
4211
+ /** Retrieves a collection of all embed objects in the document. */
4352
4212
  readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
4353
4213
  /**
4354
4214
  * Sets or gets the foreground (text) color of the document.
4355
4215
  * @deprecated
4356
4216
  */
4357
4217
  fgColor: string;
4358
- /**
4359
- * Retrieves a collection, in source order, of all form objects in the document.
4360
- */
4218
+ /** Retrieves a collection, in source order, of all form objects in the document. */
4361
4219
  readonly forms: HTMLCollectionOf<HTMLFormElement>;
4362
4220
  /** @deprecated */
4363
4221
  readonly fullscreen: boolean;
4364
- /**
4365
- * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise.
4366
- */
4222
+ /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */
4367
4223
  readonly fullscreenEnabled: boolean;
4368
- /**
4369
- * Returns the head element.
4370
- */
4224
+ /** Returns the head element. */
4371
4225
  readonly head: HTMLHeadElement;
4372
4226
  readonly hidden: boolean;
4373
- /**
4374
- * Retrieves a collection, in source order, of img objects in the document.
4375
- */
4227
+ /** Retrieves a collection, in source order, of img objects in the document. */
4376
4228
  readonly images: HTMLCollectionOf<HTMLImageElement>;
4377
- /**
4378
- * Gets the implementation object of the current document.
4379
- */
4229
+ /** Gets the implementation object of the current document. */
4380
4230
  readonly implementation: DOMImplementation;
4381
4231
  /**
4382
4232
  * Returns the character encoding used to create the webpage that is loaded into the document object.
4383
4233
  * @deprecated This is a legacy alias of `characterSet`.
4384
4234
  */
4385
4235
  readonly inputEncoding: string;
4386
- /**
4387
- * Gets the date that the page was last modified, if the page supplies one.
4388
- */
4236
+ /** Gets the date that the page was last modified, if the page supplies one. */
4389
4237
  readonly lastModified: string;
4390
4238
  /**
4391
4239
  * Sets or gets the color of the document links.
4392
4240
  * @deprecated
4393
4241
  */
4394
4242
  linkColor: string;
4395
- /**
4396
- * Retrieves a collection of all a objects that specify the href property and all area objects in the document.
4397
- */
4243
+ /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */
4398
4244
  readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;
4399
- /**
4400
- * Contains information about the current URL.
4401
- */
4245
+ /** Contains information about the current URL. */
4402
4246
  get location(): Location;
4403
4247
  set location(href: string | Location);
4404
4248
  onfullscreenchange: ((this: Document, ev: Event) => any) | null;
@@ -4413,29 +4257,19 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4413
4257
  onvisibilitychange: ((this: Document, ev: Event) => any) | null;
4414
4258
  readonly ownerDocument: null;
4415
4259
  readonly pictureInPictureEnabled: boolean;
4416
- /**
4417
- * Return an HTMLCollection of the embed elements in the Document.
4418
- */
4260
+ /** Return an HTMLCollection of the embed elements in the Document. */
4419
4261
  readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;
4420
- /**
4421
- * Retrieves a value that indicates the current state of the object.
4422
- */
4262
+ /** Retrieves a value that indicates the current state of the object. */
4423
4263
  readonly readyState: DocumentReadyState;
4424
- /**
4425
- * Gets the URL of the location that referred the user to the current page.
4426
- */
4264
+ /** Gets the URL of the location that referred the user to the current page. */
4427
4265
  readonly referrer: string;
4428
4266
  /** @deprecated */
4429
4267
  readonly rootElement: SVGSVGElement | null;
4430
- /**
4431
- * Retrieves a collection of all script objects in the document.
4432
- */
4268
+ /** Retrieves a collection of all script objects in the document. */
4433
4269
  readonly scripts: HTMLCollectionOf<HTMLScriptElement>;
4434
4270
  readonly scrollingElement: Element | null;
4435
4271
  readonly timeline: DocumentTimeline;
4436
- /**
4437
- * Contains the title of the document.
4438
- */
4272
+ /** Contains the title of the document. */
4439
4273
  title: string;
4440
4274
  readonly visibilityState: VisibilityState;
4441
4275
  /**
@@ -4455,9 +4289,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4455
4289
  caretRangeFromPoint(x: number, y: number): Range | null;
4456
4290
  /** @deprecated */
4457
4291
  clear(): void;
4458
- /**
4459
- * Closes an output stream and forces the sent data to display.
4460
- */
4292
+ /** Closes an output stream and forces the sent data to display. */
4461
4293
  close(): void;
4462
4294
  /**
4463
4295
  * Creates an attribute object with a specified name.
@@ -4465,18 +4297,14 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4465
4297
  */
4466
4298
  createAttribute(localName: string): Attr;
4467
4299
  createAttributeNS(namespace: string | null, qualifiedName: string): Attr;
4468
- /**
4469
- * Returns a CDATASection node whose data is data.
4470
- */
4300
+ /** Returns a CDATASection node whose data is data. */
4471
4301
  createCDATASection(data: string): CDATASection;
4472
4302
  /**
4473
4303
  * Creates a comment object with the specified data.
4474
4304
  * @param data Sets the comment object's data.
4475
4305
  */
4476
4306
  createComment(data: string): Comment;
4477
- /**
4478
- * Creates a new document.
4479
- */
4307
+ /** Creates a new document. */
4480
4308
  createDocumentFragment(): DocumentFragment;
4481
4309
  /**
4482
4310
  * Creates an instance of the element for the specified tag.
@@ -4570,13 +4398,9 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4570
4398
  * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter.
4571
4399
  */
4572
4400
  createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;
4573
- /**
4574
- * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown.
4575
- */
4401
+ /** Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. */
4576
4402
  createProcessingInstruction(target: string, data: string): ProcessingInstruction;
4577
- /**
4578
- * Returns an empty range object that has both of its boundary points positioned at the beginning of the document.
4579
- */
4403
+ /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */
4580
4404
  createRange(): Range;
4581
4405
  /**
4582
4406
  * Creates a text string from the specified value.
@@ -4605,9 +4429,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4605
4429
  * @deprecated
4606
4430
  */
4607
4431
  execCommand(commandId: string, showUI?: boolean, value?: string): boolean;
4608
- /**
4609
- * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done.
4610
- */
4432
+ /** Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. */
4611
4433
  exitFullscreen(): Promise<void>;
4612
4434
  exitPictureInPicture(): Promise<void>;
4613
4435
  exitPointerLock(): void;
@@ -4616,9 +4438,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4616
4438
  * @param elementId String that specifies the ID value.
4617
4439
  */
4618
4440
  getElementById(elementId: string): HTMLElement | null;
4619
- /**
4620
- * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
4621
- */
4441
+ /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */
4622
4442
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
4623
4443
  /**
4624
4444
  * Gets a collection of objects based on the value of the NAME or ID attribute.
@@ -4644,13 +4464,9 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4644
4464
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
4645
4465
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
4646
4466
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
4647
- /**
4648
- * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.
4649
- */
4467
+ /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */
4650
4468
  getSelection(): Selection | null;
4651
- /**
4652
- * Gets a value indicating whether the object currently has focus.
4653
- */
4469
+ /** Gets a value indicating whether the object currently has focus. */
4654
4470
  hasFocus(): boolean;
4655
4471
  hasStorageAccess(): Promise<boolean>;
4656
4472
  /**
@@ -4756,15 +4572,11 @@ interface DocumentOrShadowRoot {
4756
4572
  * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.
4757
4573
  */
4758
4574
  readonly activeElement: Element | null;
4759
- /**
4760
- * Returns document's fullscreen element.
4761
- */
4575
+ /** Returns document's fullscreen element. */
4762
4576
  readonly fullscreenElement: Element | null;
4763
4577
  readonly pictureInPictureElement: Element | null;
4764
4578
  readonly pointerLockElement: Element | null;
4765
- /**
4766
- * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document.
4767
- */
4579
+ /** Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. */
4768
4580
  readonly styleSheets: StyleSheetList;
4769
4581
  getAnimations(): Animation[];
4770
4582
  }
@@ -4792,9 +4604,7 @@ declare var DocumentType: {
4792
4604
 
4793
4605
  /** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */
4794
4606
  interface DragEvent extends MouseEvent {
4795
- /**
4796
- * Returns the DataTransfer object for the event.
4797
- */
4607
+ /** Returns the DataTransfer object for the event. */
4798
4608
  readonly dataTransfer: DataTransfer | null;
4799
4609
  }
4800
4610
 
@@ -4871,84 +4681,54 @@ interface ElementEventMap {
4871
4681
  /** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */
4872
4682
  interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable {
4873
4683
  readonly attributes: NamedNodeMap;
4874
- /**
4875
- * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
4876
- */
4684
+ /** Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */
4877
4685
  readonly classList: DOMTokenList;
4878
- /**
4879
- * Returns the value of element's class content attribute. Can be set to change it.
4880
- */
4686
+ /** Returns the value of element's class content attribute. Can be set to change it. */
4881
4687
  className: string;
4882
4688
  readonly clientHeight: number;
4883
4689
  readonly clientLeft: number;
4884
4690
  readonly clientTop: number;
4885
4691
  readonly clientWidth: number;
4886
- /**
4887
- * Returns the value of element's id content attribute. Can be set to change it.
4888
- */
4692
+ /** Returns the value of element's id content attribute. Can be set to change it. */
4889
4693
  id: string;
4890
- /**
4891
- * Returns the local name.
4892
- */
4694
+ /** Returns the local name. */
4893
4695
  readonly localName: string;
4894
- /**
4895
- * Returns the namespace.
4896
- */
4696
+ /** Returns the namespace. */
4897
4697
  readonly namespaceURI: string | null;
4898
4698
  onfullscreenchange: ((this: Element, ev: Event) => any) | null;
4899
4699
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
4900
4700
  outerHTML: string;
4901
4701
  readonly ownerDocument: Document;
4902
4702
  readonly part: DOMTokenList;
4903
- /**
4904
- * Returns the namespace prefix.
4905
- */
4703
+ /** Returns the namespace prefix. */
4906
4704
  readonly prefix: string | null;
4907
4705
  readonly scrollHeight: number;
4908
4706
  scrollLeft: number;
4909
4707
  scrollTop: number;
4910
4708
  readonly scrollWidth: number;
4911
- /**
4912
- * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
4913
- */
4709
+ /** Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. */
4914
4710
  readonly shadowRoot: ShadowRoot | null;
4915
- /**
4916
- * Returns the value of element's slot content attribute. Can be set to change it.
4917
- */
4711
+ /** Returns the value of element's slot content attribute. Can be set to change it. */
4918
4712
  slot: string;
4919
- /**
4920
- * Returns the HTML-uppercased qualified name.
4921
- */
4713
+ /** Returns the HTML-uppercased qualified name. */
4922
4714
  readonly tagName: string;
4923
- /**
4924
- * Creates a shadow root for element and returns it.
4925
- */
4715
+ /** Creates a shadow root for element and returns it. */
4926
4716
  attachShadow(init: ShadowRootInit): ShadowRoot;
4927
- /**
4928
- * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
4929
- */
4717
+ /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */
4930
4718
  closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
4931
4719
  closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
4932
4720
  closest<E extends Element = Element>(selectors: string): E | null;
4933
- /**
4934
- * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
4935
- */
4721
+ /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */
4936
4722
  getAttribute(qualifiedName: string): string | null;
4937
- /**
4938
- * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
4939
- */
4723
+ /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */
4940
4724
  getAttributeNS(namespace: string | null, localName: string): string | null;
4941
- /**
4942
- * Returns the qualified names of all element's attributes. Can contain duplicates.
4943
- */
4725
+ /** Returns the qualified names of all element's attributes. Can contain duplicates. */
4944
4726
  getAttributeNames(): string[];
4945
4727
  getAttributeNode(qualifiedName: string): Attr | null;
4946
4728
  getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
4947
4729
  getBoundingClientRect(): DOMRect;
4948
4730
  getClientRects(): DOMRectList;
4949
- /**
4950
- * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
4951
- */
4731
+ /** Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. */
4952
4732
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
4953
4733
  getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
4954
4734
  getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
@@ -4956,34 +4736,22 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
4956
4736
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
4957
4737
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
4958
4738
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
4959
- /**
4960
- * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
4961
- */
4739
+ /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */
4962
4740
  hasAttribute(qualifiedName: string): boolean;
4963
- /**
4964
- * Returns true if element has an attribute whose namespace is namespace and local name is localName.
4965
- */
4741
+ /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */
4966
4742
  hasAttributeNS(namespace: string | null, localName: string): boolean;
4967
- /**
4968
- * Returns true if element has attributes, and false otherwise.
4969
- */
4743
+ /** Returns true if element has attributes, and false otherwise. */
4970
4744
  hasAttributes(): boolean;
4971
4745
  hasPointerCapture(pointerId: number): boolean;
4972
4746
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
4973
4747
  insertAdjacentHTML(position: InsertPosition, text: string): void;
4974
4748
  insertAdjacentText(where: InsertPosition, data: string): void;
4975
- /**
4976
- * Returns true if matching selectors against element's root yields element, and false otherwise.
4977
- */
4749
+ /** Returns true if matching selectors against element's root yields element, and false otherwise. */
4978
4750
  matches(selectors: string): boolean;
4979
4751
  releasePointerCapture(pointerId: number): void;
4980
- /**
4981
- * Removes element's first attribute whose qualified name is qualifiedName.
4982
- */
4752
+ /** Removes element's first attribute whose qualified name is qualifiedName. */
4983
4753
  removeAttribute(qualifiedName: string): void;
4984
- /**
4985
- * Removes element's attribute whose namespace is namespace and local name is localName.
4986
- */
4754
+ /** Removes element's attribute whose namespace is namespace and local name is localName. */
4987
4755
  removeAttributeNS(namespace: string | null, localName: string): void;
4988
4756
  removeAttributeNode(attr: Attr): Attr;
4989
4757
  /**
@@ -5000,13 +4768,9 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
5000
4768
  scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
5001
4769
  scrollTo(options?: ScrollToOptions): void;
5002
4770
  scrollTo(x: number, y: number): void;
5003
- /**
5004
- * Sets the value of element's first attribute whose qualified name is qualifiedName to value.
5005
- */
4771
+ /** Sets the value of element's first attribute whose qualified name is qualifiedName to value. */
5006
4772
  setAttribute(qualifiedName: string, value: string): void;
5007
- /**
5008
- * Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
5009
- */
4773
+ /** Sets the value of element's attribute whose namespace is namespace and local name is localName to value. */
5010
4774
  setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
5011
4775
  setAttributeNode(attr: Attr): Attr | null;
5012
4776
  setAttributeNodeNS(attr: Attr): Attr | null;
@@ -5057,68 +4821,40 @@ declare var ErrorEvent: {
5057
4821
 
5058
4822
  /** An event which takes place in the DOM. */
5059
4823
  interface Event {
5060
- /**
5061
- * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.
5062
- */
4824
+ /** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */
5063
4825
  readonly bubbles: boolean;
5064
4826
  cancelBubble: boolean;
5065
- /**
5066
- * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.
5067
- */
4827
+ /** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */
5068
4828
  readonly cancelable: boolean;
5069
- /**
5070
- * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.
5071
- */
4829
+ /** Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. */
5072
4830
  readonly composed: boolean;
5073
- /**
5074
- * Returns the object whose event listener's callback is currently being invoked.
5075
- */
4831
+ /** Returns the object whose event listener's callback is currently being invoked. */
5076
4832
  readonly currentTarget: EventTarget | null;
5077
- /**
5078
- * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
5079
- */
4833
+ /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */
5080
4834
  readonly defaultPrevented: boolean;
5081
- /**
5082
- * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
5083
- */
4835
+ /** Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */
5084
4836
  readonly eventPhase: number;
5085
- /**
5086
- * Returns true if event was dispatched by the user agent, and false otherwise.
5087
- */
4837
+ /** Returns true if event was dispatched by the user agent, and false otherwise. */
5088
4838
  readonly isTrusted: boolean;
5089
4839
  /** @deprecated */
5090
4840
  returnValue: boolean;
5091
4841
  /** @deprecated */
5092
4842
  readonly srcElement: EventTarget | null;
5093
- /**
5094
- * Returns the object to which event is dispatched (its target).
5095
- */
4843
+ /** Returns the object to which event is dispatched (its target). */
5096
4844
  readonly target: EventTarget | null;
5097
- /**
5098
- * Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
5099
- */
4845
+ /** Returns the event's timestamp as the number of milliseconds measured relative to the time origin. */
5100
4846
  readonly timeStamp: DOMHighResTimeStamp;
5101
- /**
5102
- * Returns the type of event, e.g. "click", "hashchange", or "submit".
5103
- */
4847
+ /** Returns the type of event, e.g. "click", "hashchange", or "submit". */
5104
4848
  readonly type: string;
5105
- /**
5106
- * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.
5107
- */
4849
+ /** Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. */
5108
4850
  composedPath(): EventTarget[];
5109
4851
  /** @deprecated */
5110
4852
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
5111
- /**
5112
- * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.
5113
- */
4853
+ /** If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. */
5114
4854
  preventDefault(): void;
5115
- /**
5116
- * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.
5117
- */
4855
+ /** Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. */
5118
4856
  stopImmediatePropagation(): void;
5119
- /**
5120
- * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
5121
- */
4857
+ /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */
5122
4858
  stopPropagation(): void;
5123
4859
  readonly AT_TARGET: number;
5124
4860
  readonly BUBBLING_PHASE: number;
@@ -5153,21 +4889,13 @@ interface EventSource extends EventTarget {
5153
4889
  onerror: ((this: EventSource, ev: Event) => any) | null;
5154
4890
  onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;
5155
4891
  onopen: ((this: EventSource, ev: Event) => any) | null;
5156
- /**
5157
- * Returns the state of this EventSource object's connection. It can have the values described below.
5158
- */
4892
+ /** Returns the state of this EventSource object's connection. It can have the values described below. */
5159
4893
  readonly readyState: number;
5160
- /**
5161
- * Returns the URL providing the event stream.
5162
- */
4894
+ /** Returns the URL providing the event stream. */
5163
4895
  readonly url: string;
5164
- /**
5165
- * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise.
5166
- */
4896
+ /** Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. */
5167
4897
  readonly withCredentials: boolean;
5168
- /**
5169
- * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED.
5170
- */
4898
+ /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */
5171
4899
  close(): void;
5172
4900
  readonly CLOSED: number;
5173
4901
  readonly CONNECTING: number;
@@ -5204,13 +4932,9 @@ interface EventTarget {
5204
4932
  * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
5205
4933
  */
5206
4934
  addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
5207
- /**
5208
- * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
5209
- */
4935
+ /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
5210
4936
  dispatchEvent(event: Event): boolean;
5211
- /**
5212
- * Removes the event listener in target's event listener list with the same type, callback, and options.
5213
- */
4937
+ /** Removes the event listener in target's event listener list with the same type, callback, and options. */
5214
4938
  removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
5215
4939
  }
5216
4940
 
@@ -5444,9 +5168,7 @@ declare var FormData: {
5444
5168
  };
5445
5169
 
5446
5170
  interface FormDataEvent extends Event {
5447
- /**
5448
- * Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted.
5449
- */
5171
+ /** Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. */
5450
5172
  readonly formData: FormData;
5451
5173
  }
5452
5174
 
@@ -5648,7 +5370,7 @@ interface GlobalEventHandlersEventMap {
5648
5370
  "selectionchange": Event;
5649
5371
  "selectstart": Event;
5650
5372
  "stalled": Event;
5651
- "submit": Event;
5373
+ "submit": SubmitEvent;
5652
5374
  "suspend": Event;
5653
5375
  "timeupdate": Event;
5654
5376
  "toggle": Event;
@@ -5903,7 +5625,7 @@ interface GlobalEventHandlers {
5903
5625
  * @param ev The event.
5904
5626
  */
5905
5627
  onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5906
- onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5628
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
5907
5629
  /**
5908
5630
  * Occurs if the load operation has been intentionally halted.
5909
5631
  * @param ev The event.
@@ -5933,9 +5655,13 @@ interface GlobalEventHandlers {
5933
5655
  * @param ev The event.
5934
5656
  */
5935
5657
  onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5658
+ /** @deprecated This is a legacy alias of `onanimationend`. */
5936
5659
  onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5660
+ /** @deprecated This is a legacy alias of `onanimationiteration`. */
5937
5661
  onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5662
+ /** @deprecated This is a legacy alias of `onanimationstart`. */
5938
5663
  onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5664
+ /** @deprecated This is a legacy alias of `ontransitionend`. */
5939
5665
  onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5940
5666
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
5941
5667
  addEventListener<K extends keyof GlobalEventHandlersEventMap>(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -5945,13 +5671,9 @@ interface GlobalEventHandlers {
5945
5671
  }
5946
5672
 
5947
5673
  interface HTMLAllCollection {
5948
- /**
5949
- * Returns the number of elements in the collection.
5950
- */
5674
+ /** Returns the number of elements in the collection. */
5951
5675
  readonly length: number;
5952
- /**
5953
- * Returns the item with index index from the collection (determined by tree order).
5954
- */
5676
+ /** Returns the item with index index from the collection (determined by tree order). */
5955
5677
  item(nameOrIndex?: string): HTMLCollection | Element | null;
5956
5678
  /**
5957
5679
  * Returns the item with ID or name name from the collection.
@@ -5982,9 +5704,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
5982
5704
  */
5983
5705
  coords: string;
5984
5706
  download: string;
5985
- /**
5986
- * Sets or retrieves the language code of the object.
5987
- */
5707
+ /** Sets or retrieves the language code of the object. */
5988
5708
  hreflang: string;
5989
5709
  /**
5990
5710
  * Sets or retrieves the shape of the object.
@@ -5993,9 +5713,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
5993
5713
  name: string;
5994
5714
  ping: string;
5995
5715
  referrerPolicy: string;
5996
- /**
5997
- * Sets or retrieves the relationship between the object and the destination of the link.
5998
- */
5716
+ /** Sets or retrieves the relationship between the object and the destination of the link. */
5999
5717
  rel: string;
6000
5718
  readonly relList: DOMTokenList;
6001
5719
  /**
@@ -6008,13 +5726,9 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
6008
5726
  * @deprecated
6009
5727
  */
6010
5728
  shape: string;
6011
- /**
6012
- * Sets or retrieves the window or frame at which to target content.
6013
- */
5729
+ /** Sets or retrieves the window or frame at which to target content. */
6014
5730
  target: string;
6015
- /**
6016
- * Retrieves or sets the text of the object as a string.
6017
- */
5731
+ /** Retrieves or sets the text of the object as a string. */
6018
5732
  text: string;
6019
5733
  type: string;
6020
5734
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6030,13 +5744,9 @@ declare var HTMLAnchorElement: {
6030
5744
 
6031
5745
  /** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <area> elements. */
6032
5746
  interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
6033
- /**
6034
- * Sets or retrieves a text alternative to the graphic.
6035
- */
5747
+ /** Sets or retrieves a text alternative to the graphic. */
6036
5748
  alt: string;
6037
- /**
6038
- * Sets or retrieves the coordinates of the object.
6039
- */
5749
+ /** Sets or retrieves the coordinates of the object. */
6040
5750
  coords: string;
6041
5751
  download: string;
6042
5752
  /**
@@ -6048,13 +5758,9 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
6048
5758
  referrerPolicy: string;
6049
5759
  rel: string;
6050
5760
  readonly relList: DOMTokenList;
6051
- /**
6052
- * Sets or retrieves the shape of the object.
6053
- */
5761
+ /** Sets or retrieves the shape of the object. */
6054
5762
  shape: string;
6055
- /**
6056
- * Sets or retrieves the window or frame at which to target content.
6057
- */
5763
+ /** Sets or retrieves the window or frame at which to target content. */
6058
5764
  target: string;
6059
5765
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6060
5766
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -6100,13 +5806,9 @@ declare var HTMLBRElement: {
6100
5806
 
6101
5807
  /** Contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface. */
6102
5808
  interface HTMLBaseElement extends HTMLElement {
6103
- /**
6104
- * Gets or sets the baseline URL on which relative links are based.
6105
- */
5809
+ /** Gets or sets the baseline URL on which relative links are based. */
6106
5810
  href: string;
6107
- /**
6108
- * Sets or retrieves the window or frame at which to target content.
6109
- */
5811
+ /** Sets or retrieves the window or frame at which to target content. */
6110
5812
  target: string;
6111
5813
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6112
5814
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -6153,58 +5855,32 @@ declare var HTMLBodyElement: {
6153
5855
  /** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements. */
6154
5856
  interface HTMLButtonElement extends HTMLElement {
6155
5857
  disabled: boolean;
6156
- /**
6157
- * Retrieves a reference to the form that the object is embedded in.
6158
- */
5858
+ /** Retrieves a reference to the form that the object is embedded in. */
6159
5859
  readonly form: HTMLFormElement | null;
6160
- /**
6161
- * Overrides the action attribute (where the data on a form is sent) on the parent form element.
6162
- */
5860
+ /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
6163
5861
  formAction: string;
6164
- /**
6165
- * Used to override the encoding (formEnctype attribute) specified on the form element.
6166
- */
5862
+ /** Used to override the encoding (formEnctype attribute) specified on the form element. */
6167
5863
  formEnctype: string;
6168
- /**
6169
- * Overrides the submit method attribute previously specified on a form element.
6170
- */
5864
+ /** Overrides the submit method attribute previously specified on a form element. */
6171
5865
  formMethod: string;
6172
- /**
6173
- * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
6174
- */
5866
+ /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
6175
5867
  formNoValidate: boolean;
6176
- /**
6177
- * Overrides the target attribute on a form element.
6178
- */
5868
+ /** Overrides the target attribute on a form element. */
6179
5869
  formTarget: string;
6180
5870
  readonly labels: NodeListOf<HTMLLabelElement>;
6181
- /**
6182
- * Sets or retrieves the name of the object.
6183
- */
5871
+ /** Sets or retrieves the name of the object. */
6184
5872
  name: string;
6185
- /**
6186
- * Gets the classification and default behavior of the button.
6187
- */
5873
+ /** Gets the classification and default behavior of the button. */
6188
5874
  type: string;
6189
- /**
6190
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
6191
- */
5875
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
6192
5876
  readonly validationMessage: string;
6193
- /**
6194
- * Returns a ValidityState object that represents the validity states of an element.
6195
- */
5877
+ /** Returns a ValidityState object that represents the validity states of an element. */
6196
5878
  readonly validity: ValidityState;
6197
- /**
6198
- * Sets or retrieves the default or selected value of the control.
6199
- */
5879
+ /** Sets or retrieves the default or selected value of the control. */
6200
5880
  value: string;
6201
- /**
6202
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
6203
- */
5881
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
6204
5882
  readonly willValidate: boolean;
6205
- /**
6206
- * Returns whether a form will validate when it is submitted, without having to submit it.
6207
- */
5883
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
6208
5884
  checkValidity(): boolean;
6209
5885
  reportValidity(): boolean;
6210
5886
  /**
@@ -6225,13 +5901,9 @@ declare var HTMLButtonElement: {
6225
5901
 
6226
5902
  /** Provides properties and methods for manipulating the layout and presentation of <canvas> elements. The HTMLCanvasElement interface also inherits the properties and methods of the HTMLElement interface. */
6227
5903
  interface HTMLCanvasElement extends HTMLElement {
6228
- /**
6229
- * Gets or sets the height of a canvas element on a document.
6230
- */
5904
+ /** Gets or sets the height of a canvas element on a document. */
6231
5905
  height: number;
6232
- /**
6233
- * Gets or sets the width of a canvas element on a document.
6234
- */
5906
+ /** Gets or sets the width of a canvas element on a document. */
6235
5907
  width: number;
6236
5908
  captureStream(frameRequestRate?: number): MediaStream;
6237
5909
  /**
@@ -6262,21 +5934,15 @@ declare var HTMLCanvasElement: {
6262
5934
 
6263
5935
  /** A generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list. */
6264
5936
  interface HTMLCollectionBase {
6265
- /**
6266
- * Sets or retrieves the number of objects in a collection.
6267
- */
5937
+ /** Sets or retrieves the number of objects in a collection. */
6268
5938
  readonly length: number;
6269
- /**
6270
- * Retrieves an object from various collections.
6271
- */
5939
+ /** Retrieves an object from various collections. */
6272
5940
  item(index: number): Element | null;
6273
5941
  [index: number]: Element;
6274
5942
  }
6275
5943
 
6276
5944
  interface HTMLCollection extends HTMLCollectionBase {
6277
- /**
6278
- * Retrieves a select object or an object from an options collection.
6279
- */
5945
+ /** Retrieves a select object or an object from an options collection. */
6280
5946
  namedItem(name: string): Element | null;
6281
5947
  }
6282
5948
 
@@ -6322,9 +5988,7 @@ declare var HTMLDataElement: {
6322
5988
 
6323
5989
  /** Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate <datalist> elements and their content. */
6324
5990
  interface HTMLDataListElement extends HTMLElement {
6325
- /**
6326
- * Returns an HTMLCollection of the option elements of the datalist element.
6327
- */
5991
+ /** Returns an HTMLCollection of the option elements of the datalist element. */
6328
5992
  readonly options: HTMLCollectionOf<HTMLOptionElement>;
6329
5993
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6330
5994
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -6410,7 +6074,7 @@ interface HTMLElementEventMap extends ElementEventMap, DocumentAndElementEventHa
6410
6074
  }
6411
6075
 
6412
6076
  /** Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it. */
6413
- interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6077
+ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {
6414
6078
  accessKey: string;
6415
6079
  readonly accessKeyLabel: string;
6416
6080
  autocapitalize: string;
@@ -6444,23 +6108,17 @@ declare var HTMLElement: {
6444
6108
  interface HTMLEmbedElement extends HTMLElement {
6445
6109
  /** @deprecated */
6446
6110
  align: string;
6447
- /**
6448
- * Sets or retrieves the height of the object.
6449
- */
6111
+ /** Sets or retrieves the height of the object. */
6450
6112
  height: string;
6451
6113
  /**
6452
6114
  * Sets or retrieves the name of the object.
6453
6115
  * @deprecated
6454
6116
  */
6455
6117
  name: string;
6456
- /**
6457
- * Sets or retrieves a URL to be loaded by the object.
6458
- */
6118
+ /** Sets or retrieves a URL to be loaded by the object. */
6459
6119
  src: string;
6460
6120
  type: string;
6461
- /**
6462
- * Sets or retrieves the width of the object.
6463
- */
6121
+ /** Sets or retrieves the width of the object. */
6464
6122
  width: string;
6465
6123
  getSVGDocument(): Document | null;
6466
6124
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6477,34 +6135,20 @@ declare var HTMLEmbedElement: {
6477
6135
  /** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements. */
6478
6136
  interface HTMLFieldSetElement extends HTMLElement {
6479
6137
  disabled: boolean;
6480
- /**
6481
- * Returns an HTMLCollection of the form controls in the element.
6482
- */
6138
+ /** Returns an HTMLCollection of the form controls in the element. */
6483
6139
  readonly elements: HTMLCollection;
6484
- /**
6485
- * Retrieves a reference to the form that the object is embedded in.
6486
- */
6140
+ /** Retrieves a reference to the form that the object is embedded in. */
6487
6141
  readonly form: HTMLFormElement | null;
6488
6142
  name: string;
6489
- /**
6490
- * Returns the string "fieldset".
6491
- */
6143
+ /** Returns the string "fieldset". */
6492
6144
  readonly type: string;
6493
- /**
6494
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
6495
- */
6145
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
6496
6146
  readonly validationMessage: string;
6497
- /**
6498
- * Returns a ValidityState object that represents the validity states of an element.
6499
- */
6147
+ /** Returns a ValidityState object that represents the validity states of an element. */
6500
6148
  readonly validity: ValidityState;
6501
- /**
6502
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
6503
- */
6149
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
6504
6150
  readonly willValidate: boolean;
6505
- /**
6506
- * Returns whether a form will validate when it is submitted, without having to submit it.
6507
- */
6151
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
6508
6152
  checkValidity(): boolean;
6509
6153
  reportValidity(): boolean;
6510
6154
  /**
@@ -6566,63 +6210,35 @@ declare var HTMLFormControlsCollection: {
6566
6210
 
6567
6211
  /** A <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements. */
6568
6212
  interface HTMLFormElement extends HTMLElement {
6569
- /**
6570
- * Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.
6571
- */
6213
+ /** Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. */
6572
6214
  acceptCharset: string;
6573
- /**
6574
- * Sets or retrieves the URL to which the form content is sent for processing.
6575
- */
6215
+ /** Sets or retrieves the URL to which the form content is sent for processing. */
6576
6216
  action: string;
6577
- /**
6578
- * Specifies whether autocomplete is applied to an editable text field.
6579
- */
6217
+ /** Specifies whether autocomplete is applied to an editable text field. */
6580
6218
  autocomplete: string;
6581
- /**
6582
- * Retrieves a collection, in source order, of all controls in a given form.
6583
- */
6219
+ /** Retrieves a collection, in source order, of all controls in a given form. */
6584
6220
  readonly elements: HTMLFormControlsCollection;
6585
- /**
6586
- * Sets or retrieves the MIME encoding for the form.
6587
- */
6221
+ /** Sets or retrieves the MIME encoding for the form. */
6588
6222
  encoding: string;
6589
- /**
6590
- * Sets or retrieves the encoding type for the form.
6591
- */
6223
+ /** Sets or retrieves the encoding type for the form. */
6592
6224
  enctype: string;
6593
- /**
6594
- * Sets or retrieves the number of objects in a collection.
6595
- */
6225
+ /** Sets or retrieves the number of objects in a collection. */
6596
6226
  readonly length: number;
6597
- /**
6598
- * Sets or retrieves how to send the form data to the server.
6599
- */
6227
+ /** Sets or retrieves how to send the form data to the server. */
6600
6228
  method: string;
6601
- /**
6602
- * Sets or retrieves the name of the object.
6603
- */
6229
+ /** Sets or retrieves the name of the object. */
6604
6230
  name: string;
6605
- /**
6606
- * Designates a form that is not validated when submitted.
6607
- */
6231
+ /** Designates a form that is not validated when submitted. */
6608
6232
  noValidate: boolean;
6609
- /**
6610
- * Sets or retrieves the window or frame at which to target content.
6611
- */
6233
+ /** Sets or retrieves the window or frame at which to target content. */
6612
6234
  target: string;
6613
- /**
6614
- * Returns whether a form will validate when it is submitted, without having to submit it.
6615
- */
6235
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
6616
6236
  checkValidity(): boolean;
6617
6237
  reportValidity(): boolean;
6618
6238
  requestSubmit(submitter?: HTMLElement | null): void;
6619
- /**
6620
- * Fires when the user resets a form.
6621
- */
6239
+ /** Fires when the user resets a form. */
6622
6240
  reset(): void;
6623
- /**
6624
- * Fires when a FORM is about to be submitted.
6625
- */
6241
+ /** Fires when a FORM is about to be submitted. */
6626
6242
  submit(): void;
6627
6243
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6628
6244
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -6838,9 +6454,7 @@ interface HTMLHyperlinkElementUtils {
6838
6454
  */
6839
6455
  href: string;
6840
6456
  toString(): string;
6841
- /**
6842
- * Returns the hyperlink's URL's origin.
6843
- */
6457
+ /** Returns the hyperlink's URL's origin. */
6844
6458
  readonly origin: string;
6845
6459
  /**
6846
6460
  * Returns the hyperlink's URL's password.
@@ -6889,22 +6503,16 @@ interface HTMLIFrameElement extends HTMLElement {
6889
6503
  align: string;
6890
6504
  allow: string;
6891
6505
  allowFullscreen: boolean;
6892
- /**
6893
- * Retrieves the document object of the page or frame.
6894
- */
6506
+ /** Retrieves the document object of the page or frame. */
6895
6507
  readonly contentDocument: Document | null;
6896
- /**
6897
- * Retrieves the object of the specified.
6898
- */
6508
+ /** Retrieves the object of the specified. */
6899
6509
  readonly contentWindow: WindowProxy | null;
6900
6510
  /**
6901
6511
  * Sets or retrieves whether to display a border for the frame.
6902
6512
  * @deprecated
6903
6513
  */
6904
6514
  frameBorder: string;
6905
- /**
6906
- * Sets or retrieves the height of the object.
6907
- */
6515
+ /** Sets or retrieves the height of the object. */
6908
6516
  height: string;
6909
6517
  /**
6910
6518
  * Sets or retrieves a URI to a long description of the object.
@@ -6921,9 +6529,7 @@ interface HTMLIFrameElement extends HTMLElement {
6921
6529
  * @deprecated
6922
6530
  */
6923
6531
  marginWidth: string;
6924
- /**
6925
- * Sets or retrieves the frame name.
6926
- */
6532
+ /** Sets or retrieves the frame name. */
6927
6533
  name: string;
6928
6534
  referrerPolicy: ReferrerPolicy;
6929
6535
  readonly sandbox: DOMTokenList;
@@ -6932,17 +6538,11 @@ interface HTMLIFrameElement extends HTMLElement {
6932
6538
  * @deprecated
6933
6539
  */
6934
6540
  scrolling: string;
6935
- /**
6936
- * Sets or retrieves a URL to be loaded by the object.
6937
- */
6541
+ /** Sets or retrieves a URL to be loaded by the object. */
6938
6542
  src: string;
6939
- /**
6940
- * Sets or retrives the content of the page that is to contain.
6941
- */
6543
+ /** Sets or retrives the content of the page that is to contain. */
6942
6544
  srcdoc: string;
6943
- /**
6944
- * Sets or retrieves the width of the object.
6945
- */
6545
+ /** Sets or retrieves the width of the object. */
6946
6546
  width: string;
6947
6547
  getSVGDocument(): Document | null;
6948
6548
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6963,34 +6563,26 @@ interface HTMLImageElement extends HTMLElement {
6963
6563
  * @deprecated
6964
6564
  */
6965
6565
  align: string;
6966
- /**
6967
- * Sets or retrieves a text alternative to the graphic.
6968
- */
6566
+ /** Sets or retrieves a text alternative to the graphic. */
6969
6567
  alt: string;
6970
6568
  /**
6971
6569
  * Specifies the properties of a border drawn around an object.
6972
6570
  * @deprecated
6973
6571
  */
6974
6572
  border: string;
6975
- /**
6976
- * Retrieves whether the object is fully loaded.
6977
- */
6573
+ /** Retrieves whether the object is fully loaded. */
6978
6574
  readonly complete: boolean;
6979
6575
  crossOrigin: string | null;
6980
6576
  readonly currentSrc: string;
6981
6577
  decoding: "async" | "sync" | "auto";
6982
- /**
6983
- * Sets or retrieves the height of the object.
6984
- */
6578
+ /** Sets or retrieves the height of the object. */
6985
6579
  height: number;
6986
6580
  /**
6987
6581
  * Sets or retrieves the width of the border to draw around the object.
6988
6582
  * @deprecated
6989
6583
  */
6990
6584
  hspace: number;
6991
- /**
6992
- * Sets or retrieves whether the image is a server-side image map.
6993
- */
6585
+ /** Sets or retrieves whether the image is a server-side image map. */
6994
6586
  isMap: boolean;
6995
6587
  loading: string;
6996
6588
  /**
@@ -7005,33 +6597,23 @@ interface HTMLImageElement extends HTMLElement {
7005
6597
  * @deprecated
7006
6598
  */
7007
6599
  name: string;
7008
- /**
7009
- * The original height of the image resource before sizing.
7010
- */
6600
+ /** The original height of the image resource before sizing. */
7011
6601
  readonly naturalHeight: number;
7012
- /**
7013
- * The original width of the image resource before sizing.
7014
- */
6602
+ /** The original width of the image resource before sizing. */
7015
6603
  readonly naturalWidth: number;
7016
6604
  referrerPolicy: string;
7017
6605
  sizes: string;
7018
- /**
7019
- * The address or URL of the a media resource that is to be considered.
7020
- */
6606
+ /** The address or URL of the a media resource that is to be considered. */
7021
6607
  src: string;
7022
6608
  srcset: string;
7023
- /**
7024
- * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
7025
- */
6609
+ /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */
7026
6610
  useMap: string;
7027
6611
  /**
7028
6612
  * Sets or retrieves the vertical margin for the object.
7029
6613
  * @deprecated
7030
6614
  */
7031
6615
  vspace: number;
7032
- /**
7033
- * Sets or retrieves the width of the object.
7034
- */
6616
+ /** Sets or retrieves the width of the object. */
7035
6617
  width: number;
7036
6618
  readonly x: number;
7037
6619
  readonly y: number;
@@ -7049,178 +6631,102 @@ declare var HTMLImageElement: {
7049
6631
 
7050
6632
  /** Provides special properties and methods for manipulating the options, layout, and presentation of <input> elements. */
7051
6633
  interface HTMLInputElement extends HTMLElement {
7052
- /**
7053
- * Sets or retrieves a comma-separated list of content types.
7054
- */
6634
+ /** Sets or retrieves a comma-separated list of content types. */
7055
6635
  accept: string;
7056
6636
  /**
7057
6637
  * Sets or retrieves how the object is aligned with adjacent text.
7058
6638
  * @deprecated
7059
6639
  */
7060
6640
  align: string;
7061
- /**
7062
- * Sets or retrieves a text alternative to the graphic.
7063
- */
6641
+ /** Sets or retrieves a text alternative to the graphic. */
7064
6642
  alt: string;
7065
- /**
7066
- * Specifies whether autocomplete is applied to an editable text field.
7067
- */
6643
+ /** Specifies whether autocomplete is applied to an editable text field. */
7068
6644
  autocomplete: string;
7069
6645
  capture: string;
7070
- /**
7071
- * Sets or retrieves the state of the check box or radio button.
7072
- */
6646
+ /** Sets or retrieves the state of the check box or radio button. */
7073
6647
  checked: boolean;
7074
- /**
7075
- * Sets or retrieves the state of the check box or radio button.
7076
- */
6648
+ /** Sets or retrieves the state of the check box or radio button. */
7077
6649
  defaultChecked: boolean;
7078
- /**
7079
- * Sets or retrieves the initial contents of the object.
7080
- */
6650
+ /** Sets or retrieves the initial contents of the object. */
7081
6651
  defaultValue: string;
7082
6652
  dirName: string;
7083
6653
  disabled: boolean;
7084
- /**
7085
- * Returns a FileList object on a file type input object.
7086
- */
6654
+ /** Returns a FileList object on a file type input object. */
7087
6655
  files: FileList | null;
7088
- /**
7089
- * Retrieves a reference to the form that the object is embedded in.
7090
- */
6656
+ /** Retrieves a reference to the form that the object is embedded in. */
7091
6657
  readonly form: HTMLFormElement | null;
7092
- /**
7093
- * Overrides the action attribute (where the data on a form is sent) on the parent form element.
7094
- */
6658
+ /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
7095
6659
  formAction: string;
7096
- /**
7097
- * Used to override the encoding (formEnctype attribute) specified on the form element.
7098
- */
6660
+ /** Used to override the encoding (formEnctype attribute) specified on the form element. */
7099
6661
  formEnctype: string;
7100
- /**
7101
- * Overrides the submit method attribute previously specified on a form element.
7102
- */
6662
+ /** Overrides the submit method attribute previously specified on a form element. */
7103
6663
  formMethod: string;
7104
- /**
7105
- * Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
7106
- */
6664
+ /** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
7107
6665
  formNoValidate: boolean;
7108
- /**
7109
- * Overrides the target attribute on a form element.
7110
- */
6666
+ /** Overrides the target attribute on a form element. */
7111
6667
  formTarget: string;
7112
- /**
7113
- * Sets or retrieves the height of the object.
7114
- */
6668
+ /** Sets or retrieves the height of the object. */
7115
6669
  height: number;
7116
- /**
7117
- * When set, overrides the rendering of checkbox controls so that the current value is not visible.
7118
- */
6670
+ /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
7119
6671
  indeterminate: boolean;
7120
6672
  readonly labels: NodeListOf<HTMLLabelElement> | null;
7121
- /**
7122
- * Specifies the ID of a pre-defined datalist of options for an input element.
7123
- */
6673
+ /** Specifies the ID of a pre-defined datalist of options for an input element. */
7124
6674
  readonly list: HTMLElement | null;
7125
- /**
7126
- * Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
7127
- */
6675
+ /** Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field. */
7128
6676
  max: string;
7129
- /**
7130
- * Sets or retrieves the maximum number of characters that the user can enter in a text control.
7131
- */
6677
+ /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
7132
6678
  maxLength: number;
7133
- /**
7134
- * Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
7135
- */
6679
+ /** Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field. */
7136
6680
  min: string;
7137
6681
  minLength: number;
7138
- /**
7139
- * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
7140
- */
6682
+ /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
7141
6683
  multiple: boolean;
7142
- /**
7143
- * Sets or retrieves the name of the object.
7144
- */
6684
+ /** Sets or retrieves the name of the object. */
7145
6685
  name: string;
7146
- /**
7147
- * Gets or sets a string containing a regular expression that the user's input must match.
7148
- */
6686
+ /** Gets or sets a string containing a regular expression that the user's input must match. */
7149
6687
  pattern: string;
7150
- /**
7151
- * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
7152
- */
6688
+ /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
7153
6689
  placeholder: string;
7154
6690
  readOnly: boolean;
7155
- /**
7156
- * When present, marks an element that can't be submitted without a value.
7157
- */
6691
+ /** When present, marks an element that can't be submitted without a value. */
7158
6692
  required: boolean;
7159
6693
  selectionDirection: "forward" | "backward" | "none" | null;
7160
- /**
7161
- * Gets or sets the end position or offset of a text selection.
7162
- */
6694
+ /** Gets or sets the end position or offset of a text selection. */
7163
6695
  selectionEnd: number | null;
7164
- /**
7165
- * Gets or sets the starting position or offset of a text selection.
7166
- */
6696
+ /** Gets or sets the starting position or offset of a text selection. */
7167
6697
  selectionStart: number | null;
7168
6698
  size: number;
7169
- /**
7170
- * The address or URL of the a media resource that is to be considered.
7171
- */
6699
+ /** The address or URL of the a media resource that is to be considered. */
7172
6700
  src: string;
7173
- /**
7174
- * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
7175
- */
6701
+ /** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */
7176
6702
  step: string;
7177
- /**
7178
- * Returns the content type of the object.
7179
- */
6703
+ /** Returns the content type of the object. */
7180
6704
  type: string;
7181
6705
  /**
7182
6706
  * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
7183
6707
  * @deprecated
7184
6708
  */
7185
6709
  useMap: string;
7186
- /**
7187
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
7188
- */
6710
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
7189
6711
  readonly validationMessage: string;
7190
- /**
7191
- * Returns a ValidityState object that represents the validity states of an element.
7192
- */
6712
+ /** Returns a ValidityState object that represents the validity states of an element. */
7193
6713
  readonly validity: ValidityState;
7194
- /**
7195
- * Returns the value of the data at the cursor's current position.
7196
- */
6714
+ /** Returns the value of the data at the cursor's current position. */
7197
6715
  value: string;
7198
- /**
7199
- * Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
7200
- */
6716
+ /** Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based. */
7201
6717
  valueAsDate: Date | null;
7202
- /**
7203
- * Returns the input field value as a number.
7204
- */
6718
+ /** Returns the input field value as a number. */
7205
6719
  valueAsNumber: number;
7206
6720
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
7207
6721
  webkitdirectory: boolean;
7208
- /**
7209
- * Sets or retrieves the width of the object.
7210
- */
6722
+ /** Sets or retrieves the width of the object. */
7211
6723
  width: number;
7212
- /**
7213
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
7214
- */
6724
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
7215
6725
  readonly willValidate: boolean;
7216
- /**
7217
- * Returns whether a form will validate when it is submitted, without having to submit it.
7218
- */
6726
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
7219
6727
  checkValidity(): boolean;
7220
6728
  reportValidity(): boolean;
7221
- /**
7222
- * Makes the selection equal to the current object.
7223
- */
6729
+ /** Makes the selection equal to the current object. */
7224
6730
  select(): void;
7225
6731
  /**
7226
6732
  * Sets a custom error message that is displayed when a form is submitted.
@@ -7261,9 +6767,7 @@ declare var HTMLInputElement: {
7261
6767
  interface HTMLLIElement extends HTMLElement {
7262
6768
  /** @deprecated */
7263
6769
  type: string;
7264
- /**
7265
- * Sets or retrieves the value of a list item.
7266
- */
6770
+ /** Sets or retrieves the value of a list item. */
7267
6771
  value: number;
7268
6772
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7269
6773
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7278,17 +6782,11 @@ declare var HTMLLIElement: {
7278
6782
 
7279
6783
  /** Gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface. */
7280
6784
  interface HTMLLabelElement extends HTMLElement {
7281
- /**
7282
- * Returns the form control that is associated with this element.
7283
- */
6785
+ /** Returns the form control that is associated with this element. */
7284
6786
  readonly control: HTMLElement | null;
7285
- /**
7286
- * Retrieves a reference to the form that the object is embedded in.
7287
- */
6787
+ /** Retrieves a reference to the form that the object is embedded in. */
7288
6788
  readonly form: HTMLFormElement | null;
7289
- /**
7290
- * Sets or retrieves the object to which the given label object is assigned.
7291
- */
6789
+ /** Sets or retrieves the object to which the given label object is assigned. */
7292
6790
  htmlFor: string;
7293
6791
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7294
6792
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7305,9 +6803,7 @@ declare var HTMLLabelElement: {
7305
6803
  interface HTMLLegendElement extends HTMLElement {
7306
6804
  /** @deprecated */
7307
6805
  align: string;
7308
- /**
7309
- * Retrieves a reference to the form that the object is embedded in.
7310
- */
6806
+ /** Retrieves a reference to the form that the object is embedded in. */
7311
6807
  readonly form: HTMLFormElement | null;
7312
6808
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7313
6809
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7330,25 +6826,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
7330
6826
  charset: string;
7331
6827
  crossOrigin: string | null;
7332
6828
  disabled: boolean;
7333
- /**
7334
- * Sets or retrieves a destination URL or an anchor point.
7335
- */
6829
+ /** Sets or retrieves a destination URL or an anchor point. */
7336
6830
  href: string;
7337
- /**
7338
- * Sets or retrieves the language code of the object.
7339
- */
6831
+ /** Sets or retrieves the language code of the object. */
7340
6832
  hreflang: string;
7341
6833
  imageSizes: string;
7342
6834
  imageSrcset: string;
7343
6835
  integrity: string;
7344
- /**
7345
- * Sets or retrieves the media type.
7346
- */
6836
+ /** Sets or retrieves the media type. */
7347
6837
  media: string;
7348
6838
  referrerPolicy: string;
7349
- /**
7350
- * Sets or retrieves the relationship between the object and the destination of the link.
7351
- */
6839
+ /** Sets or retrieves the relationship between the object and the destination of the link. */
7352
6840
  rel: string;
7353
6841
  readonly relList: DOMTokenList;
7354
6842
  /**
@@ -7362,9 +6850,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
7362
6850
  * @deprecated
7363
6851
  */
7364
6852
  target: string;
7365
- /**
7366
- * Sets or retrieves the MIME type of the object.
7367
- */
6853
+ /** Sets or retrieves the MIME type of the object. */
7368
6854
  type: string;
7369
6855
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7370
6856
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7379,13 +6865,9 @@ declare var HTMLLinkElement: {
7379
6865
 
7380
6866
  /** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of map elements. */
7381
6867
  interface HTMLMapElement extends HTMLElement {
7382
- /**
7383
- * Retrieves a collection of the area objects defined for the given map object.
7384
- */
6868
+ /** Retrieves a collection of the area objects defined for the given map object. */
7385
6869
  readonly areas: HTMLCollection;
7386
- /**
7387
- * Sets or retrieves the name of the object.
7388
- */
6870
+ /** Sets or retrieves the name of the object. */
7389
6871
  name: string;
7390
6872
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7391
6873
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7448,113 +6930,65 @@ interface HTMLMediaElementEventMap extends HTMLElementEventMap {
7448
6930
 
7449
6931
  /** Adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. */
7450
6932
  interface HTMLMediaElement extends HTMLElement {
7451
- /**
7452
- * Gets or sets a value that indicates whether to start playing the media automatically.
7453
- */
6933
+ /** Gets or sets a value that indicates whether to start playing the media automatically. */
7454
6934
  autoplay: boolean;
7455
- /**
7456
- * Gets a collection of buffered time ranges.
7457
- */
6935
+ /** Gets a collection of buffered time ranges. */
7458
6936
  readonly buffered: TimeRanges;
7459
- /**
7460
- * Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player).
7461
- */
6937
+ /** Gets or sets a flag that indicates whether the client provides a set of controls for the media (in case the developer does not include controls for the player). */
7462
6938
  controls: boolean;
7463
6939
  crossOrigin: string | null;
7464
- /**
7465
- * Gets the address or URL of the current media resource that is selected by IHTMLMediaElement.
7466
- */
6940
+ /** Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. */
7467
6941
  readonly currentSrc: string;
7468
- /**
7469
- * Gets or sets the current playback position, in seconds.
7470
- */
6942
+ /** Gets or sets the current playback position, in seconds. */
7471
6943
  currentTime: number;
7472
6944
  defaultMuted: boolean;
7473
- /**
7474
- * Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource.
7475
- */
6945
+ /** Gets or sets the default playback rate when the user is not using fast forward or reverse for a video or audio resource. */
7476
6946
  defaultPlaybackRate: number;
7477
6947
  disableRemotePlayback: boolean;
7478
- /**
7479
- * Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming.
7480
- */
6948
+ /** Returns the duration in seconds of the current media resource. A NaN value is returned if duration is not available, or Infinity if the media resource is streaming. */
7481
6949
  readonly duration: number;
7482
- /**
7483
- * Gets information about whether the playback has ended or not.
7484
- */
6950
+ /** Gets information about whether the playback has ended or not. */
7485
6951
  readonly ended: boolean;
7486
- /**
7487
- * Returns an object representing the current error state of the audio or video element.
7488
- */
6952
+ /** Returns an object representing the current error state of the audio or video element. */
7489
6953
  readonly error: MediaError | null;
7490
- /**
7491
- * Gets or sets a flag to specify whether playback should restart after it completes.
7492
- */
6954
+ /** Gets or sets a flag to specify whether playback should restart after it completes. */
7493
6955
  loop: boolean;
7494
6956
  readonly mediaKeys: MediaKeys | null;
7495
- /**
7496
- * Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted.
7497
- */
6957
+ /** Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. */
7498
6958
  muted: boolean;
7499
- /**
7500
- * Gets the current network activity for the element.
7501
- */
6959
+ /** Gets the current network activity for the element. */
7502
6960
  readonly networkState: number;
7503
6961
  onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
7504
6962
  onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
7505
- /**
7506
- * Gets a flag that specifies whether playback is paused.
7507
- */
6963
+ /** Gets a flag that specifies whether playback is paused. */
7508
6964
  readonly paused: boolean;
7509
- /**
7510
- * Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource.
7511
- */
6965
+ /** Gets or sets the current rate of speed for the media resource to play. This speed is expressed as a multiple of the normal speed of the media resource. */
7512
6966
  playbackRate: number;
7513
- /**
7514
- * Gets TimeRanges for the current media resource that has been played.
7515
- */
6967
+ /** Gets TimeRanges for the current media resource that has been played. */
7516
6968
  readonly played: TimeRanges;
7517
- /**
7518
- * Gets or sets the current playback position, in seconds.
7519
- */
7520
- preload: string;
6969
+ /** Gets or sets a value indicating what data should be preloaded, if any. */
6970
+ preload: "none" | "metadata" | "auto" | "";
7521
6971
  readonly readyState: number;
7522
6972
  readonly remote: RemotePlayback;
7523
- /**
7524
- * Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
7525
- */
6973
+ /** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */
7526
6974
  readonly seekable: TimeRanges;
7527
- /**
7528
- * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
7529
- */
6975
+ /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */
7530
6976
  readonly seeking: boolean;
7531
- /**
7532
- * The address or URL of the a media resource that is to be considered.
7533
- */
6977
+ /** The address or URL of the a media resource that is to be considered. */
7534
6978
  src: string;
7535
6979
  srcObject: MediaProvider | null;
7536
6980
  readonly textTracks: TextTrackList;
7537
- /**
7538
- * Gets or sets the volume level for audio portions of the media element.
7539
- */
6981
+ /** Gets or sets the volume level for audio portions of the media element. */
7540
6982
  volume: number;
7541
6983
  addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
7542
- /**
7543
- * Returns a string that specifies whether the client can play a given media resource type.
7544
- */
6984
+ /** Returns a string that specifies whether the client can play a given media resource type. */
7545
6985
  canPlayType(type: string): CanPlayTypeResult;
7546
6986
  fastSeek(time: number): void;
7547
- /**
7548
- * Resets the audio or video object and loads a new media resource.
7549
- */
6987
+ /** Resets the audio or video object and loads a new media resource. */
7550
6988
  load(): void;
7551
- /**
7552
- * Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.
7553
- */
6989
+ /** Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not. */
7554
6990
  pause(): void;
7555
- /**
7556
- * Loads and starts playback of a media resource.
7557
- */
6991
+ /** Loads and starts playback of a media resource. */
7558
6992
  play(): Promise<void>;
7559
6993
  setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;
7560
6994
  readonly HAVE_CURRENT_DATA: number;
@@ -7602,17 +7036,11 @@ declare var HTMLMenuElement: {
7602
7036
 
7603
7037
  /** Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface. */
7604
7038
  interface HTMLMetaElement extends HTMLElement {
7605
- /**
7606
- * Gets or sets meta-information to associate with httpEquiv or name.
7607
- */
7039
+ /** Gets or sets meta-information to associate with httpEquiv or name. */
7608
7040
  content: string;
7609
- /**
7610
- * Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
7611
- */
7041
+ /** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
7612
7042
  httpEquiv: string;
7613
- /**
7614
- * Sets or retrieves the value specified in the content attribute of the meta object.
7615
- */
7043
+ /** Sets or retrieves the value specified in the content attribute of the meta object. */
7616
7044
  name: string;
7617
7045
  /**
7618
7046
  * Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
@@ -7652,13 +7080,9 @@ declare var HTMLMeterElement: {
7652
7080
 
7653
7081
  /** Provides special properties (beyond the regular methods and properties available through the HTMLElement interface they also have available to them by inheritance) for manipulating modification elements, that is <del> and <ins>. */
7654
7082
  interface HTMLModElement extends HTMLElement {
7655
- /**
7656
- * Sets or retrieves reference information about the object.
7657
- */
7083
+ /** Sets or retrieves reference information about the object. */
7658
7084
  cite: string;
7659
- /**
7660
- * Sets or retrieves the date and time of a modification to the object.
7661
- */
7085
+ /** Sets or retrieves the date and time of a modification to the object. */
7662
7086
  dateTime: string;
7663
7087
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7664
7088
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7676,9 +7100,7 @@ interface HTMLOListElement extends HTMLElement {
7676
7100
  /** @deprecated */
7677
7101
  compact: boolean;
7678
7102
  reversed: boolean;
7679
- /**
7680
- * The starting number.
7681
- */
7103
+ /** The starting number. */
7682
7104
  start: number;
7683
7105
  type: string;
7684
7106
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -7718,65 +7140,41 @@ interface HTMLObjectElement extends HTMLElement {
7718
7140
  * @deprecated
7719
7141
  */
7720
7142
  codeType: string;
7721
- /**
7722
- * Retrieves the document object of the page or frame.
7723
- */
7143
+ /** Retrieves the document object of the page or frame. */
7724
7144
  readonly contentDocument: Document | null;
7725
7145
  readonly contentWindow: WindowProxy | null;
7726
- /**
7727
- * Sets or retrieves the URL that references the data of the object.
7728
- */
7146
+ /** Sets or retrieves the URL that references the data of the object. */
7729
7147
  data: string;
7730
7148
  /** @deprecated */
7731
7149
  declare: boolean;
7732
- /**
7733
- * Retrieves a reference to the form that the object is embedded in.
7734
- */
7150
+ /** Retrieves a reference to the form that the object is embedded in. */
7735
7151
  readonly form: HTMLFormElement | null;
7736
- /**
7737
- * Sets or retrieves the height of the object.
7738
- */
7152
+ /** Sets or retrieves the height of the object. */
7739
7153
  height: string;
7740
7154
  /** @deprecated */
7741
7155
  hspace: number;
7742
- /**
7743
- * Sets or retrieves the name of the object.
7744
- */
7156
+ /** Sets or retrieves the name of the object. */
7745
7157
  name: string;
7746
7158
  /**
7747
7159
  * Sets or retrieves a message to be displayed while an object is loading.
7748
7160
  * @deprecated
7749
7161
  */
7750
7162
  standby: string;
7751
- /**
7752
- * Sets or retrieves the MIME type of the object.
7753
- */
7163
+ /** Sets or retrieves the MIME type of the object. */
7754
7164
  type: string;
7755
- /**
7756
- * Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
7757
- */
7165
+ /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */
7758
7166
  useMap: string;
7759
- /**
7760
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
7761
- */
7167
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
7762
7168
  readonly validationMessage: string;
7763
- /**
7764
- * Returns a ValidityState object that represents the validity states of an element.
7765
- */
7169
+ /** Returns a ValidityState object that represents the validity states of an element. */
7766
7170
  readonly validity: ValidityState;
7767
7171
  /** @deprecated */
7768
7172
  vspace: number;
7769
- /**
7770
- * Sets or retrieves the width of the object.
7771
- */
7173
+ /** Sets or retrieves the width of the object. */
7772
7174
  width: string;
7773
- /**
7774
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
7775
- */
7175
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
7776
7176
  readonly willValidate: boolean;
7777
- /**
7778
- * Returns whether a form will validate when it is submitted, without having to submit it.
7779
- */
7177
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
7780
7178
  checkValidity(): boolean;
7781
7179
  getSVGDocument(): Document | null;
7782
7180
  reportValidity(): boolean;
@@ -7799,9 +7197,7 @@ declare var HTMLObjectElement: {
7799
7197
  /** Provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of <optgroup> elements. */
7800
7198
  interface HTMLOptGroupElement extends HTMLElement {
7801
7199
  disabled: boolean;
7802
- /**
7803
- * Sets or retrieves a value that you can use to implement your own label functionality for the object.
7804
- */
7200
+ /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
7805
7201
  label: string;
7806
7202
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7807
7203
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7816,34 +7212,20 @@ declare var HTMLOptGroupElement: {
7816
7212
 
7817
7213
  /** <option> elements and inherits all classes and methods of the HTMLElement interface. */
7818
7214
  interface HTMLOptionElement extends HTMLElement {
7819
- /**
7820
- * Sets or retrieves the status of an option.
7821
- */
7215
+ /** Sets or retrieves the status of an option. */
7822
7216
  defaultSelected: boolean;
7823
7217
  disabled: boolean;
7824
- /**
7825
- * Retrieves a reference to the form that the object is embedded in.
7826
- */
7218
+ /** Retrieves a reference to the form that the object is embedded in. */
7827
7219
  readonly form: HTMLFormElement | null;
7828
- /**
7829
- * Sets or retrieves the ordinal position of an option in a list box.
7830
- */
7220
+ /** Sets or retrieves the ordinal position of an option in a list box. */
7831
7221
  readonly index: number;
7832
- /**
7833
- * Sets or retrieves a value that you can use to implement your own label functionality for the object.
7834
- */
7222
+ /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
7835
7223
  label: string;
7836
- /**
7837
- * Sets or retrieves whether the option in the list box is the default item.
7838
- */
7224
+ /** Sets or retrieves whether the option in the list box is the default item. */
7839
7225
  selected: boolean;
7840
- /**
7841
- * Sets or retrieves the text string specified by the option tag.
7842
- */
7226
+ /** Sets or retrieves the text string specified by the option tag. */
7843
7227
  text: string;
7844
- /**
7845
- * Sets or retrieves the value which is returned to the server when the form control is submitted.
7846
- */
7228
+ /** Sets or retrieves the value which is returned to the server when the form control is submitted. */
7847
7229
  value: string;
7848
7230
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
7849
7231
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -7882,9 +7264,7 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
7882
7264
  * This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
7883
7265
  */
7884
7266
  add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
7885
- /**
7886
- * Removes the item with index index from the collection.
7887
- */
7267
+ /** Removes the item with index index from the collection. */
7888
7268
  remove(index: number): void;
7889
7269
  }
7890
7270
 
@@ -7894,6 +7274,7 @@ declare var HTMLOptionsCollection: {
7894
7274
  };
7895
7275
 
7896
7276
  interface HTMLOrSVGElement {
7277
+ autofocus: boolean;
7897
7278
  readonly dataset: DOMStringMap;
7898
7279
  nonce?: string;
7899
7280
  tabIndex: number;
@@ -7908,9 +7289,7 @@ interface HTMLOutputElement extends HTMLElement {
7908
7289
  readonly htmlFor: DOMTokenList;
7909
7290
  readonly labels: NodeListOf<HTMLLabelElement>;
7910
7291
  name: string;
7911
- /**
7912
- * Returns the string "output".
7913
- */
7292
+ /** Returns the string "output". */
7914
7293
  readonly type: string;
7915
7294
  readonly validationMessage: string;
7916
7295
  readonly validity: ValidityState;
@@ -7955,18 +7334,14 @@ declare var HTMLParagraphElement: {
7955
7334
 
7956
7335
  /** Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element. */
7957
7336
  interface HTMLParamElement extends HTMLElement {
7958
- /**
7959
- * Sets or retrieves the name of an input parameter for an element.
7960
- */
7337
+ /** Sets or retrieves the name of an input parameter for an element. */
7961
7338
  name: string;
7962
7339
  /**
7963
7340
  * Sets or retrieves the content type of the resource designated by the value attribute.
7964
7341
  * @deprecated
7965
7342
  */
7966
7343
  type: string;
7967
- /**
7968
- * Sets or retrieves the value of an input parameter for an element.
7969
- */
7344
+ /** Sets or retrieves the value of an input parameter for an element. */
7970
7345
  value: string;
7971
7346
  /**
7972
7347
  * Sets or retrieves the data type of the value attribute.
@@ -8018,17 +7393,11 @@ declare var HTMLPreElement: {
8018
7393
  /** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <progress> elements. */
8019
7394
  interface HTMLProgressElement extends HTMLElement {
8020
7395
  readonly labels: NodeListOf<HTMLLabelElement>;
8021
- /**
8022
- * Defines the maximum, or "done" value for a progress element.
8023
- */
7396
+ /** Defines the maximum, or "done" value for a progress element. */
8024
7397
  max: number;
8025
- /**
8026
- * Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar).
8027
- */
7398
+ /** Returns the quotient of value/max when the value attribute is set (determinate progress bar), or -1 when the value attribute is missing (indeterminate progress bar). */
8028
7399
  readonly position: number;
8029
- /**
8030
- * Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value.
8031
- */
7400
+ /** Sets or gets the current value of a progress element. The value must be a non-negative number between 0 and the max value. */
8032
7401
  value: number;
8033
7402
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8034
7403
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8043,9 +7412,7 @@ declare var HTMLProgressElement: {
8043
7412
 
8044
7413
  /** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating quoting elements, like <blockquote> and <q>, but not the <cite> element. */
8045
7414
  interface HTMLQuoteElement extends HTMLElement {
8046
- /**
8047
- * Sets or retrieves reference information about the object.
8048
- */
7415
+ /** Sets or retrieves reference information about the object. */
8049
7416
  cite: string;
8050
7417
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8051
7418
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8067,9 +7434,7 @@ interface HTMLScriptElement extends HTMLElement {
8067
7434
  */
8068
7435
  charset: string;
8069
7436
  crossOrigin: string | null;
8070
- /**
8071
- * Sets or retrieves the status of the script.
8072
- */
7437
+ /** Sets or retrieves the status of the script. */
8073
7438
  defer: boolean;
8074
7439
  /**
8075
7440
  * Sets or retrieves the event for which the script is written.
@@ -8084,17 +7449,11 @@ interface HTMLScriptElement extends HTMLElement {
8084
7449
  integrity: string;
8085
7450
  noModule: boolean;
8086
7451
  referrerPolicy: string;
8087
- /**
8088
- * Retrieves the URL to an external file that contains the source code or data.
8089
- */
7452
+ /** Retrieves the URL to an external file that contains the source code or data. */
8090
7453
  src: string;
8091
- /**
8092
- * Retrieves or sets the text of the object as a string.
8093
- */
7454
+ /** Retrieves or sets the text of the object as a string. */
8094
7455
  text: string;
8095
- /**
8096
- * Sets or retrieves the MIME type for the associated scripting engine.
8097
- */
7456
+ /** Sets or retrieves the MIME type for the associated scripting engine. */
8098
7457
  type: string;
8099
7458
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8100
7459
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8111,59 +7470,33 @@ declare var HTMLScriptElement: {
8111
7470
  interface HTMLSelectElement extends HTMLElement {
8112
7471
  autocomplete: string;
8113
7472
  disabled: boolean;
8114
- /**
8115
- * Retrieves a reference to the form that the object is embedded in.
8116
- */
7473
+ /** Retrieves a reference to the form that the object is embedded in. */
8117
7474
  readonly form: HTMLFormElement | null;
8118
7475
  readonly labels: NodeListOf<HTMLLabelElement>;
8119
- /**
8120
- * Sets or retrieves the number of objects in a collection.
8121
- */
7476
+ /** Sets or retrieves the number of objects in a collection. */
8122
7477
  length: number;
8123
- /**
8124
- * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
8125
- */
7478
+ /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
8126
7479
  multiple: boolean;
8127
- /**
8128
- * Sets or retrieves the name of the object.
8129
- */
7480
+ /** Sets or retrieves the name of the object. */
8130
7481
  name: string;
8131
- /**
8132
- * Returns an HTMLOptionsCollection of the list of options.
8133
- */
7482
+ /** Returns an HTMLOptionsCollection of the list of options. */
8134
7483
  readonly options: HTMLOptionsCollection;
8135
- /**
8136
- * When present, marks an element that can't be submitted without a value.
8137
- */
7484
+ /** When present, marks an element that can't be submitted without a value. */
8138
7485
  required: boolean;
8139
- /**
8140
- * Sets or retrieves the index of the selected option in a select object.
8141
- */
7486
+ /** Sets or retrieves the index of the selected option in a select object. */
8142
7487
  selectedIndex: number;
8143
7488
  readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
8144
- /**
8145
- * Sets or retrieves the number of rows in the list box.
8146
- */
7489
+ /** Sets or retrieves the number of rows in the list box. */
8147
7490
  size: number;
8148
- /**
8149
- * Retrieves the type of select control based on the value of the MULTIPLE attribute.
8150
- */
7491
+ /** Retrieves the type of select control based on the value of the MULTIPLE attribute. */
8151
7492
  readonly type: string;
8152
- /**
8153
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
8154
- */
7493
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
8155
7494
  readonly validationMessage: string;
8156
- /**
8157
- * Returns a ValidityState object that represents the validity states of an element.
8158
- */
7495
+ /** Returns a ValidityState object that represents the validity states of an element. */
8159
7496
  readonly validity: ValidityState;
8160
- /**
8161
- * Sets or retrieves the value which is returned to the server when the form control is submitted.
8162
- */
7497
+ /** Sets or retrieves the value which is returned to the server when the form control is submitted. */
8163
7498
  value: string;
8164
- /**
8165
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
8166
- */
7499
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
8167
7500
  readonly willValidate: boolean;
8168
7501
  /**
8169
7502
  * Adds an element to the areas, controlRange, or options collection.
@@ -8171,9 +7504,7 @@ interface HTMLSelectElement extends HTMLElement {
8171
7504
  * @param before Variant of type Object that specifies an element to insert before, or null to append the object to the collection.
8172
7505
  */
8173
7506
  add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
8174
- /**
8175
- * Returns whether a form will validate when it is submitted, without having to submit it.
8176
- */
7507
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
8177
7508
  checkValidity(): boolean;
8178
7509
  /**
8179
7510
  * Retrieves a select object or an object from an options collection.
@@ -8227,19 +7558,13 @@ declare var HTMLSlotElement: {
8227
7558
 
8228
7559
  /** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */
8229
7560
  interface HTMLSourceElement extends HTMLElement {
8230
- /**
8231
- * Gets or sets the intended media type of the media source.
8232
- */
7561
+ /** Gets or sets the intended media type of the media source. */
8233
7562
  media: string;
8234
7563
  sizes: string;
8235
- /**
8236
- * The address or URL of the a media resource that is to be considered.
8237
- */
7564
+ /** The address or URL of the a media resource that is to be considered. */
8238
7565
  src: string;
8239
7566
  srcset: string;
8240
- /**
8241
- * Gets or sets the MIME type of a media resource.
8242
- */
7567
+ /** Gets or sets the MIME type of a media resource. */
8243
7568
  type: string;
8244
7569
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8245
7570
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8267,9 +7592,7 @@ declare var HTMLSpanElement: {
8267
7592
 
8268
7593
  /** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */
8269
7594
  interface HTMLStyleElement extends HTMLElement, LinkStyle {
8270
- /**
8271
- * Sets or retrieves the media type.
8272
- */
7595
+ /** Sets or retrieves the media type. */
8273
7596
  media: string;
8274
7597
  /**
8275
7598
  * Retrieves the CSS language in which the style sheet is written.
@@ -8307,9 +7630,7 @@ declare var HTMLTableCaptionElement: {
8307
7630
 
8308
7631
  /** Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. */
8309
7632
  interface HTMLTableCellElement extends HTMLElement {
8310
- /**
8311
- * Sets or retrieves abbreviated text for the object.
8312
- */
7633
+ /** Sets or retrieves abbreviated text for the object. */
8313
7634
  abbr: string;
8314
7635
  /**
8315
7636
  * Sets or retrieves how the object is aligned with adjacent text.
@@ -8323,21 +7644,15 @@ interface HTMLTableCellElement extends HTMLElement {
8323
7644
  axis: string;
8324
7645
  /** @deprecated */
8325
7646
  bgColor: string;
8326
- /**
8327
- * Retrieves the position of the object in the cells collection of a row.
8328
- */
7647
+ /** Retrieves the position of the object in the cells collection of a row. */
8329
7648
  readonly cellIndex: number;
8330
7649
  /** @deprecated */
8331
7650
  ch: string;
8332
7651
  /** @deprecated */
8333
7652
  chOff: string;
8334
- /**
8335
- * Sets or retrieves the number columns in the table that the object should span.
8336
- */
7653
+ /** Sets or retrieves the number columns in the table that the object should span. */
8337
7654
  colSpan: number;
8338
- /**
8339
- * Sets or retrieves a list of header cells that provide information for the object.
8340
- */
7655
+ /** Sets or retrieves a list of header cells that provide information for the object. */
8341
7656
  headers: string;
8342
7657
  /**
8343
7658
  * Sets or retrieves the height of the object.
@@ -8349,13 +7664,9 @@ interface HTMLTableCellElement extends HTMLElement {
8349
7664
  * @deprecated
8350
7665
  */
8351
7666
  noWrap: boolean;
8352
- /**
8353
- * Sets or retrieves how many rows in a table the cell should span.
8354
- */
7667
+ /** Sets or retrieves how many rows in a table the cell should span. */
8355
7668
  rowSpan: number;
8356
- /**
8357
- * Sets or retrieves the group of cells in a table to which the object's information applies.
8358
- */
7669
+ /** Sets or retrieves the group of cells in a table to which the object's information applies. */
8359
7670
  scope: string;
8360
7671
  /** @deprecated */
8361
7672
  vAlign: string;
@@ -8386,9 +7697,7 @@ interface HTMLTableColElement extends HTMLElement {
8386
7697
  ch: string;
8387
7698
  /** @deprecated */
8388
7699
  chOff: string;
8389
- /**
8390
- * Sets or retrieves the number of columns in the group.
8391
- */
7700
+ /** Sets or retrieves the number of columns in the group. */
8392
7701
  span: number;
8393
7702
  /** @deprecated */
8394
7703
  vAlign: string;
@@ -8430,9 +7739,7 @@ interface HTMLTableElement extends HTMLElement {
8430
7739
  * @deprecated
8431
7740
  */
8432
7741
  border: string;
8433
- /**
8434
- * Retrieves the caption object of a table.
8435
- */
7742
+ /** Retrieves the caption object of a table. */
8436
7743
  caption: HTMLTableCaptionElement | null;
8437
7744
  /**
8438
7745
  * Sets or retrieves the amount of space between the border of the cell and the content of the cell.
@@ -8449,9 +7756,7 @@ interface HTMLTableElement extends HTMLElement {
8449
7756
  * @deprecated
8450
7757
  */
8451
7758
  frame: string;
8452
- /**
8453
- * Sets or retrieves the number of horizontal rows contained in the object.
8454
- */
7759
+ /** Sets or retrieves the number of horizontal rows contained in the object. */
8455
7760
  readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
8456
7761
  /**
8457
7762
  * Sets or retrieves which dividing lines (inner borders) are displayed.
@@ -8463,55 +7768,35 @@ interface HTMLTableElement extends HTMLElement {
8463
7768
  * @deprecated
8464
7769
  */
8465
7770
  summary: string;
8466
- /**
8467
- * Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
8468
- */
7771
+ /** Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. */
8469
7772
  readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;
8470
- /**
8471
- * Retrieves the tFoot object of the table.
8472
- */
7773
+ /** Retrieves the tFoot object of the table. */
8473
7774
  tFoot: HTMLTableSectionElement | null;
8474
- /**
8475
- * Retrieves the tHead object of the table.
8476
- */
7775
+ /** Retrieves the tHead object of the table. */
8477
7776
  tHead: HTMLTableSectionElement | null;
8478
7777
  /**
8479
7778
  * Sets or retrieves the width of the object.
8480
7779
  * @deprecated
8481
7780
  */
8482
7781
  width: string;
8483
- /**
8484
- * Creates an empty caption element in the table.
8485
- */
7782
+ /** Creates an empty caption element in the table. */
8486
7783
  createCaption(): HTMLTableCaptionElement;
8487
- /**
8488
- * Creates an empty tBody element in the table.
8489
- */
7784
+ /** Creates an empty tBody element in the table. */
8490
7785
  createTBody(): HTMLTableSectionElement;
8491
- /**
8492
- * Creates an empty tFoot element in the table.
8493
- */
7786
+ /** Creates an empty tFoot element in the table. */
8494
7787
  createTFoot(): HTMLTableSectionElement;
8495
- /**
8496
- * Returns the tHead element object if successful, or null otherwise.
8497
- */
7788
+ /** Returns the tHead element object if successful, or null otherwise. */
8498
7789
  createTHead(): HTMLTableSectionElement;
8499
- /**
8500
- * Deletes the caption element and its contents from the table.
8501
- */
7790
+ /** Deletes the caption element and its contents from the table. */
8502
7791
  deleteCaption(): void;
8503
7792
  /**
8504
7793
  * Removes the specified row (tr) from the element and from the rows collection.
8505
7794
  * @param index Number that specifies the zero-based position in the rows collection of the row to remove.
8506
7795
  */
8507
7796
  deleteRow(index: number): void;
8508
- /**
8509
- * Deletes the tFoot element and its contents from the table.
8510
- */
7797
+ /** Deletes the tFoot element and its contents from the table. */
8511
7798
  deleteTFoot(): void;
8512
- /**
8513
- * Deletes the tHead element and its contents from the table.
8514
- */
7799
+ /** Deletes the tHead element and its contents from the table. */
8515
7800
  deleteTHead(): void;
8516
7801
  /**
8517
7802
  * Creates a new row (tr) in the table, and adds the row to the rows collection.
@@ -8546,21 +7831,15 @@ interface HTMLTableRowElement extends HTMLElement {
8546
7831
  align: string;
8547
7832
  /** @deprecated */
8548
7833
  bgColor: string;
8549
- /**
8550
- * Retrieves a collection of all cells in the table row.
8551
- */
7834
+ /** Retrieves a collection of all cells in the table row. */
8552
7835
  readonly cells: HTMLCollectionOf<HTMLTableCellElement>;
8553
7836
  /** @deprecated */
8554
7837
  ch: string;
8555
7838
  /** @deprecated */
8556
7839
  chOff: string;
8557
- /**
8558
- * Retrieves the position of the object in the rows collection for the table.
8559
- */
7840
+ /** Retrieves the position of the object in the rows collection for the table. */
8560
7841
  readonly rowIndex: number;
8561
- /**
8562
- * Retrieves the position of the object in the collection.
8563
- */
7842
+ /** Retrieves the position of the object in the collection. */
8564
7843
  readonly sectionRowIndex: number;
8565
7844
  /** @deprecated */
8566
7845
  vAlign: string;
@@ -8596,9 +7875,7 @@ interface HTMLTableSectionElement extends HTMLElement {
8596
7875
  ch: string;
8597
7876
  /** @deprecated */
8598
7877
  chOff: string;
8599
- /**
8600
- * Sets or retrieves the number of horizontal rows contained in the object.
8601
- */
7878
+ /** Sets or retrieves the number of horizontal rows contained in the object. */
8602
7879
  readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
8603
7880
  /** @deprecated */
8604
7881
  vAlign: string;
@@ -8625,9 +7902,7 @@ declare var HTMLTableSectionElement: {
8625
7902
 
8626
7903
  /** Enables access to the contents of an HTML <template> element. */
8627
7904
  interface HTMLTemplateElement extends HTMLElement {
8628
- /**
8629
- * Returns the template contents (a DocumentFragment).
8630
- */
7905
+ /** Returns the template contents (a DocumentFragment). */
8631
7906
  readonly content: DocumentFragment;
8632
7907
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8633
7908
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8643,88 +7918,50 @@ declare var HTMLTemplateElement: {
8643
7918
  /** Provides special properties and methods for manipulating the layout and presentation of <textarea> elements. */
8644
7919
  interface HTMLTextAreaElement extends HTMLElement {
8645
7920
  autocomplete: string;
8646
- /**
8647
- * Sets or retrieves the width of the object.
8648
- */
7921
+ /** Sets or retrieves the width of the object. */
8649
7922
  cols: number;
8650
- /**
8651
- * Sets or retrieves the initial contents of the object.
8652
- */
7923
+ /** Sets or retrieves the initial contents of the object. */
8653
7924
  defaultValue: string;
8654
7925
  dirName: string;
8655
7926
  disabled: boolean;
8656
- /**
8657
- * Retrieves a reference to the form that the object is embedded in.
8658
- */
7927
+ /** Retrieves a reference to the form that the object is embedded in. */
8659
7928
  readonly form: HTMLFormElement | null;
8660
7929
  readonly labels: NodeListOf<HTMLLabelElement>;
8661
- /**
8662
- * Sets or retrieves the maximum number of characters that the user can enter in a text control.
8663
- */
7930
+ /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
8664
7931
  maxLength: number;
8665
7932
  minLength: number;
8666
- /**
8667
- * Sets or retrieves the name of the object.
8668
- */
7933
+ /** Sets or retrieves the name of the object. */
8669
7934
  name: string;
8670
- /**
8671
- * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
8672
- */
7935
+ /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
8673
7936
  placeholder: string;
8674
- /**
8675
- * Sets or retrieves the value indicated whether the content of the object is read-only.
8676
- */
7937
+ /** Sets or retrieves the value indicated whether the content of the object is read-only. */
8677
7938
  readOnly: boolean;
8678
- /**
8679
- * When present, marks an element that can't be submitted without a value.
8680
- */
7939
+ /** When present, marks an element that can't be submitted without a value. */
8681
7940
  required: boolean;
8682
- /**
8683
- * Sets or retrieves the number of horizontal rows contained in the object.
8684
- */
7941
+ /** Sets or retrieves the number of horizontal rows contained in the object. */
8685
7942
  rows: number;
8686
7943
  selectionDirection: "forward" | "backward" | "none";
8687
- /**
8688
- * Gets or sets the end position or offset of a text selection.
8689
- */
7944
+ /** Gets or sets the end position or offset of a text selection. */
8690
7945
  selectionEnd: number;
8691
- /**
8692
- * Gets or sets the starting position or offset of a text selection.
8693
- */
7946
+ /** Gets or sets the starting position or offset of a text selection. */
8694
7947
  selectionStart: number;
8695
7948
  readonly textLength: number;
8696
- /**
8697
- * Retrieves the type of control.
8698
- */
7949
+ /** Retrieves the type of control. */
8699
7950
  readonly type: string;
8700
- /**
8701
- * Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
8702
- */
7951
+ /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
8703
7952
  readonly validationMessage: string;
8704
- /**
8705
- * Returns a ValidityState object that represents the validity states of an element.
8706
- */
7953
+ /** Returns a ValidityState object that represents the validity states of an element. */
8707
7954
  readonly validity: ValidityState;
8708
- /**
8709
- * Retrieves or sets the text in the entry field of the textArea element.
8710
- */
7955
+ /** Retrieves or sets the text in the entry field of the textArea element. */
8711
7956
  value: string;
8712
- /**
8713
- * Returns whether an element will successfully validate based on forms validation rules and constraints.
8714
- */
7957
+ /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
8715
7958
  readonly willValidate: boolean;
8716
- /**
8717
- * Sets or retrieves how to handle wordwrapping in the object.
8718
- */
7959
+ /** Sets or retrieves how to handle wordwrapping in the object. */
8719
7960
  wrap: string;
8720
- /**
8721
- * Returns whether a form will validate when it is submitted, without having to submit it.
8722
- */
7961
+ /** Returns whether a form will validate when it is submitted, without having to submit it. */
8723
7962
  checkValidity(): boolean;
8724
7963
  reportValidity(): boolean;
8725
- /**
8726
- * Highlights the input area of a form element.
8727
- */
7964
+ /** Highlights the input area of a form element. */
8728
7965
  select(): void;
8729
7966
  /**
8730
7967
  * Sets a custom error message that is displayed when a form is submitted.
@@ -8767,9 +8004,7 @@ declare var HTMLTimeElement: {
8767
8004
 
8768
8005
  /** Contains the title for a document. This element inherits all of the properties and methods of the HTMLElement interface. */
8769
8006
  interface HTMLTitleElement extends HTMLElement {
8770
- /**
8771
- * Retrieves or sets the text of the object as a string.
8772
- */
8007
+ /** Retrieves or sets the text of the object as a string. */
8773
8008
  text: string;
8774
8009
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
8775
8010
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -8790,9 +8025,7 @@ interface HTMLTrackElement extends HTMLElement {
8790
8025
  readonly readyState: number;
8791
8026
  src: string;
8792
8027
  srclang: string;
8793
- /**
8794
- * Returns the TextTrack object corresponding to the text track of the track element.
8795
- */
8028
+ /** Returns the TextTrack object corresponding to the text track of the track element. */
8796
8029
  readonly track: TextTrack;
8797
8030
  readonly ERROR: number;
8798
8031
  readonly LOADED: number;
@@ -8851,31 +8084,19 @@ interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {
8851
8084
  /** Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement. */
8852
8085
  interface HTMLVideoElement extends HTMLMediaElement {
8853
8086
  disablePictureInPicture: boolean;
8854
- /**
8855
- * Gets or sets the height of the video element.
8856
- */
8087
+ /** Gets or sets the height of the video element. */
8857
8088
  height: number;
8858
8089
  onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;
8859
8090
  onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;
8860
- /**
8861
- * Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.
8862
- */
8091
+ /** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins. */
8863
8092
  playsInline: boolean;
8864
- /**
8865
- * Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.
8866
- */
8093
+ /** Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available. */
8867
8094
  poster: string;
8868
- /**
8869
- * Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
8870
- */
8095
+ /** Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. */
8871
8096
  readonly videoHeight: number;
8872
- /**
8873
- * Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.
8874
- */
8097
+ /** Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. */
8875
8098
  readonly videoWidth: number;
8876
- /**
8877
- * Gets or sets the width of the video element.
8878
- */
8099
+ /** Gets or sets the width of the video element. */
8879
8100
  width: number;
8880
8101
  getVideoPlaybackQuality(): VideoPlaybackQuality;
8881
8102
  requestPictureInPicture(): Promise<PictureInPictureWindow>;
@@ -8892,13 +8113,9 @@ declare var HTMLVideoElement: {
8892
8113
 
8893
8114
  /** Events that fire when the fragment identifier of the URL has changed. */
8894
8115
  interface HashChangeEvent extends Event {
8895
- /**
8896
- * Returns the URL of the session history entry that is now current.
8897
- */
8116
+ /** Returns the URL of the session history entry that is now current. */
8898
8117
  readonly newURL: string;
8899
- /**
8900
- * Returns the URL of the session history entry that was previously current.
8901
- */
8118
+ /** Returns the URL of the session history entry that was previously current. */
8902
8119
  readonly oldURL: string;
8903
8120
  }
8904
8121
 
@@ -8941,34 +8158,20 @@ declare var History: {
8941
8158
 
8942
8159
  /** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. */
8943
8160
  interface IDBCursor {
8944
- /**
8945
- * Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor.
8946
- */
8161
+ /** Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor. */
8947
8162
  readonly direction: IDBCursorDirection;
8948
- /**
8949
- * Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.
8950
- */
8163
+ /** Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */
8951
8164
  readonly key: IDBValidKey;
8952
- /**
8953
- * Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished.
8954
- */
8165
+ /** Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */
8955
8166
  readonly primaryKey: IDBValidKey;
8956
8167
  readonly request: IDBRequest;
8957
- /**
8958
- * Returns the IDBObjectStore or IDBIndex the cursor was opened from.
8959
- */
8168
+ /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */
8960
8169
  readonly source: IDBObjectStore | IDBIndex;
8961
- /**
8962
- * Advances the cursor through the next count records in range.
8963
- */
8170
+ /** Advances the cursor through the next count records in range. */
8964
8171
  advance(count: number): void;
8965
- /**
8966
- * Advances the cursor to the next record in range.
8967
- */
8172
+ /** Advances the cursor to the next record in range. */
8968
8173
  continue(key?: IDBValidKey): void;
8969
- /**
8970
- * Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index.
8971
- */
8174
+ /** Advances the cursor to the next record in range matching or after key and primaryKey. Throws an "InvalidAccessError" DOMException if the source is not an index. */
8972
8175
  continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;
8973
8176
  /**
8974
8177
  * Delete the record pointed at by the cursor with a new value.
@@ -8993,9 +8196,7 @@ declare var IDBCursor: {
8993
8196
 
8994
8197
  /** This IndexedDB API interface represents a cursor for traversing or iterating over multiple records in a database. It is the same as the IDBCursor, except that it includes the value property. */
8995
8198
  interface IDBCursorWithValue extends IDBCursor {
8996
- /**
8997
- * Returns the cursor's current value.
8998
- */
8199
+ /** Returns the cursor's current value. */
8999
8200
  readonly value: any;
9000
8201
  }
9001
8202
 
@@ -9013,25 +8214,17 @@ interface IDBDatabaseEventMap {
9013
8214
 
9014
8215
  /** This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database. */
9015
8216
  interface IDBDatabase extends EventTarget {
9016
- /**
9017
- * Returns the name of the database.
9018
- */
8217
+ /** Returns the name of the database. */
9019
8218
  readonly name: string;
9020
- /**
9021
- * Returns a list of the names of object stores in the database.
9022
- */
8219
+ /** Returns a list of the names of object stores in the database. */
9023
8220
  readonly objectStoreNames: DOMStringList;
9024
8221
  onabort: ((this: IDBDatabase, ev: Event) => any) | null;
9025
8222
  onclose: ((this: IDBDatabase, ev: Event) => any) | null;
9026
8223
  onerror: ((this: IDBDatabase, ev: Event) => any) | null;
9027
8224
  onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;
9028
- /**
9029
- * Returns the version of the database.
9030
- */
8225
+ /** Returns the version of the database. */
9031
8226
  readonly version: number;
9032
- /**
9033
- * Closes the connection once all running transactions have finished.
9034
- */
8227
+ /** Closes the connection once all running transactions have finished. */
9035
8228
  close(): void;
9036
8229
  /**
9037
8230
  * Creates a new object store with the given name and options and returns a new IDBObjectStore.
@@ -9045,9 +8238,7 @@ interface IDBDatabase extends EventTarget {
9045
8238
  * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
9046
8239
  */
9047
8240
  deleteObjectStore(name: string): void;
9048
- /**
9049
- * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
9050
- */
8241
+ /** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
9051
8242
  transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;
9052
8243
  addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9053
8244
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -9069,13 +8260,9 @@ interface IDBFactory {
9069
8260
  */
9070
8261
  cmp(first: any, second: any): number;
9071
8262
  databases(): Promise<IDBDatabaseInfo[]>;
9072
- /**
9073
- * Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null.
9074
- */
8263
+ /** Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null. */
9075
8264
  deleteDatabase(name: string): IDBOpenDBRequest;
9076
- /**
9077
- * Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection.
9078
- */
8265
+ /** Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection. */
9079
8266
  open(name: string, version?: number): IDBOpenDBRequest;
9080
8267
  }
9081
8268
 
@@ -9088,13 +8275,9 @@ declare var IDBFactory: {
9088
8275
  interface IDBIndex {
9089
8276
  readonly keyPath: string | string[];
9090
8277
  readonly multiEntry: boolean;
9091
- /**
9092
- * Returns the name of the index.
9093
- */
8278
+ /** Returns the name of the index. */
9094
8279
  name: string;
9095
- /**
9096
- * Returns the IDBObjectStore the index belongs to.
9097
- */
8280
+ /** Returns the IDBObjectStore the index belongs to. */
9098
8281
  readonly objectStore: IDBObjectStore;
9099
8282
  readonly unique: boolean;
9100
8283
  /**
@@ -9148,70 +8331,42 @@ declare var IDBIndex: {
9148
8331
 
9149
8332
  /** A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs: */
9150
8333
  interface IDBKeyRange {
9151
- /**
9152
- * Returns lower bound, or undefined if none.
9153
- */
8334
+ /** Returns lower bound, or undefined if none. */
9154
8335
  readonly lower: any;
9155
- /**
9156
- * Returns true if the lower open flag is set, and false otherwise.
9157
- */
8336
+ /** Returns true if the lower open flag is set, and false otherwise. */
9158
8337
  readonly lowerOpen: boolean;
9159
- /**
9160
- * Returns upper bound, or undefined if none.
9161
- */
8338
+ /** Returns upper bound, or undefined if none. */
9162
8339
  readonly upper: any;
9163
- /**
9164
- * Returns true if the upper open flag is set, and false otherwise.
9165
- */
8340
+ /** Returns true if the upper open flag is set, and false otherwise. */
9166
8341
  readonly upperOpen: boolean;
9167
- /**
9168
- * Returns true if key is included in the range, and false otherwise.
9169
- */
8342
+ /** Returns true if key is included in the range, and false otherwise. */
9170
8343
  includes(key: any): boolean;
9171
8344
  }
9172
8345
 
9173
8346
  declare var IDBKeyRange: {
9174
8347
  prototype: IDBKeyRange;
9175
8348
  new(): IDBKeyRange;
9176
- /**
9177
- * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.
9178
- */
8349
+ /** Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range. */
9179
8350
  bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
9180
- /**
9181
- * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.
9182
- */
8351
+ /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */
9183
8352
  lowerBound(lower: any, open?: boolean): IDBKeyRange;
9184
- /**
9185
- * Returns a new IDBKeyRange spanning only key.
9186
- */
8353
+ /** Returns a new IDBKeyRange spanning only key. */
9187
8354
  only(value: any): IDBKeyRange;
9188
- /**
9189
- * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.
9190
- */
8355
+ /** Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range. */
9191
8356
  upperBound(upper: any, open?: boolean): IDBKeyRange;
9192
8357
  };
9193
8358
 
9194
8359
  /** This example shows a variety of different uses of object stores, from updating the data structure with IDBObjectStore.createIndex inside an onupgradeneeded function, to adding a new item to our object store with IDBObjectStore.add. For a full working example, see our To-do Notifications app (view example live.) */
9195
8360
  interface IDBObjectStore {
9196
- /**
9197
- * Returns true if the store has a key generator, and false otherwise.
9198
- */
8361
+ /** Returns true if the store has a key generator, and false otherwise. */
9199
8362
  readonly autoIncrement: boolean;
9200
- /**
9201
- * Returns a list of the names of indexes in the store.
9202
- */
8363
+ /** Returns a list of the names of indexes in the store. */
9203
8364
  readonly indexNames: DOMStringList;
9204
- /**
9205
- * Returns the key path of the store, or null if none.
9206
- */
8365
+ /** Returns the key path of the store, or null if none. */
9207
8366
  readonly keyPath: string | string[];
9208
- /**
9209
- * Returns the name of the store.
9210
- */
8367
+ /** Returns the name of the store. */
9211
8368
  name: string;
9212
- /**
9213
- * Returns the associated transaction.
9214
- */
8369
+ /** Returns the associated transaction. */
9215
8370
  readonly transaction: IDBTransaction;
9216
8371
  /**
9217
8372
  * Adds or updates a record in store with the given value and key.
@@ -9334,27 +8489,17 @@ interface IDBRequestEventMap {
9334
8489
 
9335
8490
  /** The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the IDBRequest instance. */
9336
8491
  interface IDBRequest<T = any> extends EventTarget {
9337
- /**
9338
- * When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending.
9339
- */
8492
+ /** When a request is completed, returns the error (a DOMException), or null if the request succeeded. Throws a "InvalidStateError" DOMException if the request is still pending. */
9340
8493
  readonly error: DOMException | null;
9341
8494
  onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;
9342
8495
  onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
9343
- /**
9344
- * Returns "pending" until a request is complete, then returns "done".
9345
- */
8496
+ /** Returns "pending" until a request is complete, then returns "done". */
9346
8497
  readonly readyState: IDBRequestReadyState;
9347
- /**
9348
- * When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending.
9349
- */
8498
+ /** When a request is completed, returns the result, or undefined if the request failed. Throws a "InvalidStateError" DOMException if the request is still pending. */
9350
8499
  readonly result: T;
9351
- /**
9352
- * Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request.
9353
- */
8500
+ /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */
9354
8501
  readonly source: IDBObjectStore | IDBIndex | IDBCursor;
9355
- /**
9356
- * Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise.
9357
- */
8502
+ /** Returns the IDBTransaction the request was made within. If this as an open request, then it returns an upgrade transaction while it is running, or null otherwise. */
9358
8503
  readonly transaction: IDBTransaction | null;
9359
8504
  addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9360
8505
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -9374,33 +8519,21 @@ interface IDBTransactionEventMap {
9374
8519
  }
9375
8520
 
9376
8521
  interface IDBTransaction extends EventTarget {
9377
- /**
9378
- * Returns the transaction's connection.
9379
- */
8522
+ /** Returns the transaction's connection. */
9380
8523
  readonly db: IDBDatabase;
9381
- /**
9382
- * If the transaction was aborted, returns the error (a DOMException) providing the reason.
9383
- */
8524
+ /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
9384
8525
  readonly error: DOMException | null;
9385
- /**
9386
- * Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction.
9387
- */
8526
+ /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
9388
8527
  readonly mode: IDBTransactionMode;
9389
- /**
9390
- * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
9391
- */
8528
+ /** Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database. */
9392
8529
  readonly objectStoreNames: DOMStringList;
9393
8530
  onabort: ((this: IDBTransaction, ev: Event) => any) | null;
9394
8531
  oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;
9395
8532
  onerror: ((this: IDBTransaction, ev: Event) => any) | null;
9396
- /**
9397
- * Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.
9398
- */
8533
+ /** Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted. */
9399
8534
  abort(): void;
9400
8535
  commit(): void;
9401
- /**
9402
- * Returns an IDBObjectStore in the transaction's scope.
9403
- */
8536
+ /** Returns an IDBObjectStore in the transaction's scope. */
9404
8537
  objectStore(name: string): IDBObjectStore;
9405
8538
  addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9406
8539
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -9445,17 +8578,11 @@ declare var IdleDeadline: {
9445
8578
  };
9446
8579
 
9447
8580
  interface ImageBitmap {
9448
- /**
9449
- * Returns the intrinsic height of the image, in CSS pixels.
9450
- */
8581
+ /** Returns the intrinsic height of the image, in CSS pixels. */
9451
8582
  readonly height: number;
9452
- /**
9453
- * Returns the intrinsic width of the image, in CSS pixels.
9454
- */
8583
+ /** Returns the intrinsic width of the image, in CSS pixels. */
9455
8584
  readonly width: number;
9456
- /**
9457
- * Releases imageBitmap's underlying bitmap data.
9458
- */
8585
+ /** Releases imageBitmap's underlying bitmap data. */
9459
8586
  close(): void;
9460
8587
  }
9461
8588
 
@@ -9465,13 +8592,9 @@ declare var ImageBitmap: {
9465
8592
  };
9466
8593
 
9467
8594
  interface ImageBitmapRenderingContext {
9468
- /**
9469
- * Returns the canvas element that the context is bound to.
9470
- */
8595
+ /** Returns the canvas element that the context is bound to. */
9471
8596
  readonly canvas: HTMLCanvasElement;
9472
- /**
9473
- * Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
9474
- */
8597
+ /** Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. */
9475
8598
  transferFromImageBitmap(bitmap: ImageBitmap | null): void;
9476
8599
  }
9477
8600
 
@@ -9482,17 +8605,11 @@ declare var ImageBitmapRenderingContext: {
9482
8605
 
9483
8606
  /** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */
9484
8607
  interface ImageData {
9485
- /**
9486
- * Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.
9487
- */
8608
+ /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */
9488
8609
  readonly data: Uint8ClampedArray;
9489
- /**
9490
- * Returns the actual dimensions of the data in the ImageData object, in pixels.
9491
- */
8610
+ /** Returns the actual dimensions of the data in the ImageData object, in pixels. */
9492
8611
  readonly height: number;
9493
- /**
9494
- * Returns the actual dimensions of the data in the ImageData object, in pixels.
9495
- */
8612
+ /** Returns the actual dimensions of the data in the ImageData object, in pixels. */
9496
8613
  readonly width: number;
9497
8614
  }
9498
8615
 
@@ -9609,9 +8726,7 @@ interface LinkStyle {
9609
8726
 
9610
8727
  /** The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively. */
9611
8728
  interface Location {
9612
- /**
9613
- * Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.
9614
- */
8729
+ /** Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context. */
9615
8730
  readonly ancestorOrigins: DOMStringList;
9616
8731
  /**
9617
8732
  * Returns the Location object's URL's fragment (includes leading "#" if non-empty).
@@ -9638,9 +8753,7 @@ interface Location {
9638
8753
  */
9639
8754
  href: string;
9640
8755
  toString(): string;
9641
- /**
9642
- * Returns the Location object's URL's origin.
9643
- */
8756
+ /** Returns the Location object's URL's origin. */
9644
8757
  readonly origin: string;
9645
8758
  /**
9646
8759
  * Returns the Location object's URL's path.
@@ -9666,17 +8779,11 @@ interface Location {
9666
8779
  * Can be set, to navigate to the same URL with a changed query (ignores leading "?").
9667
8780
  */
9668
8781
  search: string;
9669
- /**
9670
- * Navigates to the given URL.
9671
- */
8782
+ /** Navigates to the given URL. */
9672
8783
  assign(url: string | URL): void;
9673
- /**
9674
- * Reloads the current page.
9675
- */
8784
+ /** Reloads the current page. */
9676
8785
  reload(): void;
9677
- /**
9678
- * Removes the current page from the session history and navigates to the given URL.
9679
- */
8786
+ /** Removes the current page from the session history and navigates to the given URL. */
9680
8787
  replace(url: string | URL): void;
9681
8788
  }
9682
8789
 
@@ -10110,13 +9217,9 @@ declare var MediaStreamTrackEvent: {
10110
9217
 
10111
9218
  /** This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties. */
10112
9219
  interface MessageChannel {
10113
- /**
10114
- * Returns the first MessagePort object.
10115
- */
9220
+ /** Returns the first MessagePort object. */
10116
9221
  readonly port1: MessagePort;
10117
- /**
10118
- * Returns the second MessagePort object.
10119
- */
9222
+ /** Returns the second MessagePort object. */
10120
9223
  readonly port2: MessagePort;
10121
9224
  }
10122
9225
 
@@ -10127,25 +9230,15 @@ declare var MessageChannel: {
10127
9230
 
10128
9231
  /** A message received by a target object. */
10129
9232
  interface MessageEvent<T = any> extends Event {
10130
- /**
10131
- * Returns the data of the message.
10132
- */
9233
+ /** Returns the data of the message. */
10133
9234
  readonly data: T;
10134
- /**
10135
- * Returns the last event ID string, for server-sent events.
10136
- */
9235
+ /** Returns the last event ID string, for server-sent events. */
10137
9236
  readonly lastEventId: string;
10138
- /**
10139
- * Returns the origin of the message, for server-sent events and cross-document messaging.
10140
- */
9237
+ /** Returns the origin of the message, for server-sent events and cross-document messaging. */
10141
9238
  readonly origin: string;
10142
- /**
10143
- * Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.
10144
- */
9239
+ /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */
10145
9240
  readonly ports: ReadonlyArray<MessagePort>;
10146
- /**
10147
- * Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.
10148
- */
9241
+ /** Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects. */
10149
9242
  readonly source: MessageEventSource | null;
10150
9243
  /** @deprecated */
10151
9244
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
@@ -10165,9 +9258,7 @@ interface MessagePortEventMap {
10165
9258
  interface MessagePort extends EventTarget {
10166
9259
  onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;
10167
9260
  onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;
10168
- /**
10169
- * Disconnects the port, so that it is no longer active.
10170
- */
9261
+ /** Disconnects the port, so that it is no longer active. */
10171
9262
  close(): void;
10172
9263
  /**
10173
9264
  * Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
@@ -10175,10 +9266,8 @@ interface MessagePort extends EventTarget {
10175
9266
  * Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.
10176
9267
  */
10177
9268
  postMessage(message: any, transfer: Transferable[]): void;
10178
- postMessage(message: any, options?: PostMessageOptions): void;
10179
- /**
10180
- * Begins dispatching messages received on the port.
10181
- */
9269
+ postMessage(message: any, options?: StructuredSerializeOptions): void;
9270
+ /** Begins dispatching messages received on the port. */
10182
9271
  start(): void;
10183
9272
  addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10184
9273
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10308,9 +9397,7 @@ declare var MutationEvent: {
10308
9397
 
10309
9398
  /** Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification. */
10310
9399
  interface MutationObserver {
10311
- /**
10312
- * Stops observer from observing any mutations. Until the observe() method is used again, observer's callback will not be invoked.
10313
- */
9400
+ /** Stops observer from observing any mutations. Until the observe() method is used again, observer's callback will not be invoked. */
10314
9401
  disconnect(): void;
10315
9402
  /**
10316
9403
  * Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
@@ -10318,9 +9405,7 @@ interface MutationObserver {
10318
9405
  * The options argument allows for setting mutation observation options via object members.
10319
9406
  */
10320
9407
  observe(target: Node, options?: MutationObserverInit): void;
10321
- /**
10322
- * Empties the record queue and returns what was in there.
10323
- */
9408
+ /** Empties the record queue and returns what was in there. */
10324
9409
  takeRecords(): MutationRecord[];
10325
9410
  }
10326
9411
 
@@ -10331,41 +9416,23 @@ declare var MutationObserver: {
10331
9416
 
10332
9417
  /** A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback. */
10333
9418
  interface MutationRecord {
10334
- /**
10335
- * Return the nodes added and removed respectively.
10336
- */
9419
+ /** Return the nodes added and removed respectively. */
10337
9420
  readonly addedNodes: NodeList;
10338
- /**
10339
- * Returns the local name of the changed attribute, and null otherwise.
10340
- */
9421
+ /** Returns the local name of the changed attribute, and null otherwise. */
10341
9422
  readonly attributeName: string | null;
10342
- /**
10343
- * Returns the namespace of the changed attribute, and null otherwise.
10344
- */
9423
+ /** Returns the namespace of the changed attribute, and null otherwise. */
10345
9424
  readonly attributeNamespace: string | null;
10346
- /**
10347
- * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.
10348
- */
9425
+ /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */
10349
9426
  readonly nextSibling: Node | null;
10350
- /**
10351
- * The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.
10352
- */
9427
+ /** The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null. */
10353
9428
  readonly oldValue: string | null;
10354
- /**
10355
- * Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.
10356
- */
9429
+ /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */
10357
9430
  readonly previousSibling: Node | null;
10358
- /**
10359
- * Return the nodes added and removed respectively.
10360
- */
9431
+ /** Return the nodes added and removed respectively. */
10361
9432
  readonly removedNodes: NodeList;
10362
- /**
10363
- * Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.
10364
- */
9433
+ /** Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed. */
10365
9434
  readonly target: Node;
10366
- /**
10367
- * Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes.
10368
- */
9435
+ /** Returns "attributes" if it was an attribute mutation. "characterData" if it was a mutation to a CharacterData node. And "childList" if it was a mutation to the tree of nodes. */
10369
9436
  readonly type: MutationRecordType;
10370
9437
  }
10371
9438
 
@@ -10489,148 +9556,84 @@ declare var NetworkInformation: {
10489
9556
 
10490
9557
  /** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */
10491
9558
  interface Node extends EventTarget {
10492
- /**
10493
- * Returns node's node document's document base URL.
10494
- */
9559
+ /** Returns node's node document's document base URL. */
10495
9560
  readonly baseURI: string;
10496
- /**
10497
- * Returns the children.
10498
- */
9561
+ /** Returns the children. */
10499
9562
  readonly childNodes: NodeListOf<ChildNode>;
10500
- /**
10501
- * Returns the first child.
10502
- */
9563
+ /** Returns the first child. */
10503
9564
  readonly firstChild: ChildNode | null;
10504
- /**
10505
- * Returns true if node is connected and false otherwise.
10506
- */
9565
+ /** Returns true if node is connected and false otherwise. */
10507
9566
  readonly isConnected: boolean;
10508
- /**
10509
- * Returns the last child.
10510
- */
9567
+ /** Returns the last child. */
10511
9568
  readonly lastChild: ChildNode | null;
10512
- /**
10513
- * Returns the next sibling.
10514
- */
9569
+ /** Returns the next sibling. */
10515
9570
  readonly nextSibling: ChildNode | null;
10516
- /**
10517
- * Returns a string appropriate for the type of node.
10518
- */
9571
+ /** Returns a string appropriate for the type of node. */
10519
9572
  readonly nodeName: string;
10520
- /**
10521
- * Returns the type of node.
10522
- */
9573
+ /** Returns the type of node. */
10523
9574
  readonly nodeType: number;
10524
9575
  nodeValue: string | null;
10525
- /**
10526
- * Returns the node document. Returns null for documents.
10527
- */
9576
+ /** Returns the node document. Returns null for documents. */
10528
9577
  readonly ownerDocument: Document | null;
10529
- /**
10530
- * Returns the parent element.
10531
- */
9578
+ /** Returns the parent element. */
10532
9579
  readonly parentElement: HTMLElement | null;
10533
- /**
10534
- * Returns the parent.
10535
- */
9580
+ /** Returns the parent. */
10536
9581
  readonly parentNode: ParentNode | null;
10537
- /**
10538
- * Returns the previous sibling.
10539
- */
9582
+ /** Returns the previous sibling. */
10540
9583
  readonly previousSibling: ChildNode | null;
10541
9584
  textContent: string | null;
10542
9585
  appendChild<T extends Node>(node: T): T;
10543
- /**
10544
- * Returns a copy of node. If deep is true, the copy also includes the node's descendants.
10545
- */
9586
+ /** Returns a copy of node. If deep is true, the copy also includes the node's descendants. */
10546
9587
  cloneNode(deep?: boolean): Node;
10547
- /**
10548
- * Returns a bitmask indicating the position of other relative to node.
10549
- */
9588
+ /** Returns a bitmask indicating the position of other relative to node. */
10550
9589
  compareDocumentPosition(other: Node): number;
10551
- /**
10552
- * Returns true if other is an inclusive descendant of node, and false otherwise.
10553
- */
9590
+ /** Returns true if other is an inclusive descendant of node, and false otherwise. */
10554
9591
  contains(other: Node | null): boolean;
10555
- /**
10556
- * Returns node's root.
10557
- */
9592
+ /** Returns node's root. */
10558
9593
  getRootNode(options?: GetRootNodeOptions): Node;
10559
- /**
10560
- * Returns whether node has children.
10561
- */
9594
+ /** Returns whether node has children. */
10562
9595
  hasChildNodes(): boolean;
10563
9596
  insertBefore<T extends Node>(node: T, child: Node | null): T;
10564
9597
  isDefaultNamespace(namespace: string | null): boolean;
10565
- /**
10566
- * Returns whether node and otherNode have the same properties.
10567
- */
9598
+ /** Returns whether node and otherNode have the same properties. */
10568
9599
  isEqualNode(otherNode: Node | null): boolean;
10569
9600
  isSameNode(otherNode: Node | null): boolean;
10570
9601
  lookupNamespaceURI(prefix: string | null): string | null;
10571
9602
  lookupPrefix(namespace: string | null): string | null;
10572
- /**
10573
- * Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
10574
- */
9603
+ /** Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. */
10575
9604
  normalize(): void;
10576
9605
  removeChild<T extends Node>(child: T): T;
10577
9606
  replaceChild<T extends Node>(node: Node, child: T): T;
10578
9607
  readonly ATTRIBUTE_NODE: number;
10579
- /**
10580
- * node is a CDATASection node.
10581
- */
9608
+ /** node is a CDATASection node. */
10582
9609
  readonly CDATA_SECTION_NODE: number;
10583
- /**
10584
- * node is a Comment node.
10585
- */
9610
+ /** node is a Comment node. */
10586
9611
  readonly COMMENT_NODE: number;
10587
- /**
10588
- * node is a DocumentFragment node.
10589
- */
9612
+ /** node is a DocumentFragment node. */
10590
9613
  readonly DOCUMENT_FRAGMENT_NODE: number;
10591
- /**
10592
- * node is a document.
10593
- */
9614
+ /** node is a document. */
10594
9615
  readonly DOCUMENT_NODE: number;
10595
- /**
10596
- * Set when other is a descendant of node.
10597
- */
9616
+ /** Set when other is a descendant of node. */
10598
9617
  readonly DOCUMENT_POSITION_CONTAINED_BY: number;
10599
- /**
10600
- * Set when other is an ancestor of node.
10601
- */
9618
+ /** Set when other is an ancestor of node. */
10602
9619
  readonly DOCUMENT_POSITION_CONTAINS: number;
10603
- /**
10604
- * Set when node and other are not in the same tree.
10605
- */
9620
+ /** Set when node and other are not in the same tree. */
10606
9621
  readonly DOCUMENT_POSITION_DISCONNECTED: number;
10607
- /**
10608
- * Set when other is following node.
10609
- */
9622
+ /** Set when other is following node. */
10610
9623
  readonly DOCUMENT_POSITION_FOLLOWING: number;
10611
9624
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
10612
- /**
10613
- * Set when other is preceding node.
10614
- */
9625
+ /** Set when other is preceding node. */
10615
9626
  readonly DOCUMENT_POSITION_PRECEDING: number;
10616
- /**
10617
- * node is a doctype.
10618
- */
9627
+ /** node is a doctype. */
10619
9628
  readonly DOCUMENT_TYPE_NODE: number;
10620
- /**
10621
- * node is an element.
10622
- */
9629
+ /** node is an element. */
10623
9630
  readonly ELEMENT_NODE: number;
10624
9631
  readonly ENTITY_NODE: number;
10625
9632
  readonly ENTITY_REFERENCE_NODE: number;
10626
9633
  readonly NOTATION_NODE: number;
10627
- /**
10628
- * node is a ProcessingInstruction node.
10629
- */
9634
+ /** node is a ProcessingInstruction node. */
10630
9635
  readonly PROCESSING_INSTRUCTION_NODE: number;
10631
- /**
10632
- * node is a Text node.
10633
- */
9636
+ /** node is a Text node. */
10634
9637
  readonly TEXT_NODE: number;
10635
9638
  }
10636
9639
 
@@ -10638,61 +9641,35 @@ declare var Node: {
10638
9641
  prototype: Node;
10639
9642
  new(): Node;
10640
9643
  readonly ATTRIBUTE_NODE: number;
10641
- /**
10642
- * node is a CDATASection node.
10643
- */
9644
+ /** node is a CDATASection node. */
10644
9645
  readonly CDATA_SECTION_NODE: number;
10645
- /**
10646
- * node is a Comment node.
10647
- */
9646
+ /** node is a Comment node. */
10648
9647
  readonly COMMENT_NODE: number;
10649
- /**
10650
- * node is a DocumentFragment node.
10651
- */
9648
+ /** node is a DocumentFragment node. */
10652
9649
  readonly DOCUMENT_FRAGMENT_NODE: number;
10653
- /**
10654
- * node is a document.
10655
- */
9650
+ /** node is a document. */
10656
9651
  readonly DOCUMENT_NODE: number;
10657
- /**
10658
- * Set when other is a descendant of node.
10659
- */
9652
+ /** Set when other is a descendant of node. */
10660
9653
  readonly DOCUMENT_POSITION_CONTAINED_BY: number;
10661
- /**
10662
- * Set when other is an ancestor of node.
10663
- */
9654
+ /** Set when other is an ancestor of node. */
10664
9655
  readonly DOCUMENT_POSITION_CONTAINS: number;
10665
- /**
10666
- * Set when node and other are not in the same tree.
10667
- */
9656
+ /** Set when node and other are not in the same tree. */
10668
9657
  readonly DOCUMENT_POSITION_DISCONNECTED: number;
10669
- /**
10670
- * Set when other is following node.
10671
- */
9658
+ /** Set when other is following node. */
10672
9659
  readonly DOCUMENT_POSITION_FOLLOWING: number;
10673
9660
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
10674
- /**
10675
- * Set when other is preceding node.
10676
- */
9661
+ /** Set when other is preceding node. */
10677
9662
  readonly DOCUMENT_POSITION_PRECEDING: number;
10678
- /**
10679
- * node is a doctype.
10680
- */
9663
+ /** node is a doctype. */
10681
9664
  readonly DOCUMENT_TYPE_NODE: number;
10682
- /**
10683
- * node is an element.
10684
- */
9665
+ /** node is an element. */
10685
9666
  readonly ELEMENT_NODE: number;
10686
9667
  readonly ENTITY_NODE: number;
10687
9668
  readonly ENTITY_REFERENCE_NODE: number;
10688
9669
  readonly NOTATION_NODE: number;
10689
- /**
10690
- * node is a ProcessingInstruction node.
10691
- */
9670
+ /** node is a ProcessingInstruction node. */
10692
9671
  readonly PROCESSING_INSTRUCTION_NODE: number;
10693
- /**
10694
- * node is a Text node.
10695
- */
9672
+ /** node is a Text node. */
10696
9673
  readonly TEXT_NODE: number;
10697
9674
  };
10698
9675
 
@@ -10716,13 +9693,9 @@ declare var NodeIterator: {
10716
9693
 
10717
9694
  /** NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll(). */
10718
9695
  interface NodeList {
10719
- /**
10720
- * Returns the number of nodes in the collection.
10721
- */
9696
+ /** Returns the number of nodes in the collection. */
10722
9697
  readonly length: number;
10723
- /**
10724
- * Returns the node with index index from the collection. The nodes are sorted in tree order.
10725
- */
9698
+ /** Returns the node with index index from the collection. The nodes are sorted in tree order. */
10726
9699
  item(index: number): Node | null;
10727
9700
  /**
10728
9701
  * Performs the specified action for each node in an list.
@@ -10750,20 +9723,14 @@ interface NodeListOf<TNode extends Node> extends NodeList {
10750
9723
  }
10751
9724
 
10752
9725
  interface NonDocumentTypeChildNode {
10753
- /**
10754
- * Returns the first following sibling that is an element, and null otherwise.
10755
- */
9726
+ /** Returns the first following sibling that is an element, and null otherwise. */
10756
9727
  readonly nextElementSibling: Element | null;
10757
- /**
10758
- * Returns the first preceding sibling that is an element, and null otherwise.
10759
- */
9728
+ /** Returns the first preceding sibling that is an element, and null otherwise. */
10760
9729
  readonly previousElementSibling: Element | null;
10761
9730
  }
10762
9731
 
10763
9732
  interface NonElementParentNode {
10764
- /**
10765
- * Returns the first element within node's descendants whose ID is elementId.
10766
- */
9733
+ /** Returns the first element within node's descendants whose ID is elementId. */
10767
9734
  getElementById(elementId: string): Element | null;
10768
9735
  }
10769
9736
 
@@ -10956,17 +9923,11 @@ declare var PannerNode: {
10956
9923
 
10957
9924
  interface ParentNode extends Node {
10958
9925
  readonly childElementCount: number;
10959
- /**
10960
- * Returns the child elements.
10961
- */
9926
+ /** Returns the child elements. */
10962
9927
  readonly children: HTMLCollection;
10963
- /**
10964
- * Returns the first child that is an element, and null otherwise.
10965
- */
9928
+ /** Returns the first child that is an element, and null otherwise. */
10966
9929
  readonly firstElementChild: Element | null;
10967
- /**
10968
- * Returns the last child that is an element, and null otherwise.
10969
- */
9930
+ /** Returns the last child that is an element, and null otherwise. */
10970
9931
  readonly lastElementChild: Element | null;
10971
9932
  /**
10972
9933
  * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
@@ -10980,15 +9941,11 @@ interface ParentNode extends Node {
10980
9941
  * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
10981
9942
  */
10982
9943
  prepend(...nodes: (Node | string)[]): void;
10983
- /**
10984
- * Returns the first element that is a descendant of node that matches selectors.
10985
- */
9944
+ /** Returns the first element that is a descendant of node that matches selectors. */
10986
9945
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
10987
9946
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
10988
9947
  querySelector<E extends Element = Element>(selectors: string): E | null;
10989
- /**
10990
- * Returns all element descendants of node that match selectors.
10991
- */
9948
+ /** Returns all element descendants of node that match selectors. */
10992
9949
  querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
10993
9950
  querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
10994
9951
  querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
@@ -11002,9 +9959,7 @@ interface ParentNode extends Node {
11002
9959
 
11003
9960
  /** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */
11004
9961
  interface Path2D extends CanvasPath {
11005
- /**
11006
- * Adds to the path the path given by the argument.
11007
- */
9962
+ /** Adds to the path the path given by the argument. */
11008
9963
  addPath(path: Path2D, transform?: DOMMatrix2DInit): void;
11009
9964
  }
11010
9965
 
@@ -11501,9 +10456,7 @@ declare var PointerEvent: {
11501
10456
 
11502
10457
  /** PopStateEvent is an event handler for the popstate event on the window. */
11503
10458
  interface PopStateEvent extends Event {
11504
- /**
11505
- * Returns a copy of the information that was provided to pushState() or replaceState().
11506
- */
10459
+ /** Returns a copy of the information that was provided to pushState() or replaceState(). */
11507
10460
  readonly state: any;
11508
10461
  }
11509
10462
 
@@ -11925,17 +10878,13 @@ declare var RadioNodeList: {
11925
10878
 
11926
10879
  /** A fragment of a document that can contain nodes and parts of text nodes. */
11927
10880
  interface Range extends AbstractRange {
11928
- /**
11929
- * Returns the node, furthest away from the document, that is an ancestor of both range's start node and end node.
11930
- */
10881
+ /** Returns the node, furthest away from the document, that is an ancestor of both range's start node and end node. */
11931
10882
  readonly commonAncestorContainer: Node;
11932
10883
  cloneContents(): DocumentFragment;
11933
10884
  cloneRange(): Range;
11934
10885
  collapse(toStart?: boolean): void;
11935
10886
  compareBoundaryPoints(how: number, sourceRange: Range): number;
11936
- /**
11937
- * Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.
11938
- */
10887
+ /** Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range. */
11939
10888
  comparePoint(node: Node, offset: number): number;
11940
10889
  createContextualFragment(fragment: string): DocumentFragment;
11941
10890
  deleteContents(): void;
@@ -11944,9 +10893,7 @@ interface Range extends AbstractRange {
11944
10893
  getBoundingClientRect(): DOMRect;
11945
10894
  getClientRects(): DOMRectList;
11946
10895
  insertNode(node: Node): void;
11947
- /**
11948
- * Returns whether range intersects node.
11949
- */
10896
+ /** Returns whether range intersects node. */
11950
10897
  intersectsNode(node: Node): boolean;
11951
10898
  isPointInRange(node: Node, offset: number): boolean;
11952
10899
  selectNode(node: Node): void;
@@ -12045,57 +10992,31 @@ declare var RemotePlayback: {
12045
10992
 
12046
10993
  /** This Fetch API interface represents a resource request. */
12047
10994
  interface Request extends Body {
12048
- /**
12049
- * Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching.
12050
- */
10995
+ /** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */
12051
10996
  readonly cache: RequestCache;
12052
- /**
12053
- * Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.
12054
- */
10997
+ /** Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. */
12055
10998
  readonly credentials: RequestCredentials;
12056
- /**
12057
- * Returns the kind of resource requested by request, e.g., "document" or "script".
12058
- */
10999
+ /** Returns the kind of resource requested by request, e.g., "document" or "script". */
12059
11000
  readonly destination: RequestDestination;
12060
- /**
12061
- * Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.
12062
- */
11001
+ /** Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header. */
12063
11002
  readonly headers: Headers;
12064
- /**
12065
- * Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI]
12066
- */
11003
+ /** Returns request's subresource integrity metadata, which is a cryptographic hash of the resource being fetched. Its value consists of multiple hashes separated by whitespace. [SRI] */
12067
11004
  readonly integrity: string;
12068
- /**
12069
- * Returns a boolean indicating whether or not request can outlive the global in which it was created.
12070
- */
11005
+ /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
12071
11006
  readonly keepalive: boolean;
12072
- /**
12073
- * Returns request's HTTP method, which is "GET" by default.
12074
- */
11007
+ /** Returns request's HTTP method, which is "GET" by default. */
12075
11008
  readonly method: string;
12076
- /**
12077
- * Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.
12078
- */
11009
+ /** Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs. */
12079
11010
  readonly mode: RequestMode;
12080
- /**
12081
- * Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default.
12082
- */
11011
+ /** Returns the redirect mode associated with request, which is a string indicating how redirects for the request will be handled during fetching. A request will follow redirects by default. */
12083
11012
  readonly redirect: RequestRedirect;
12084
- /**
12085
- * Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global's default. This is used during fetching to determine the value of the `Referer` header of the request being made.
12086
- */
11013
+ /** Returns the referrer of request. Its value can be a same-origin URL if explicitly set in init, the empty string to indicate no referrer, and "about:client" when defaulting to the global's default. This is used during fetching to determine the value of the `Referer` header of the request being made. */
12087
11014
  readonly referrer: string;
12088
- /**
12089
- * Returns the referrer policy associated with request. This is used during fetching to compute the value of the request's referrer.
12090
- */
11015
+ /** Returns the referrer policy associated with request. This is used during fetching to compute the value of the request's referrer. */
12091
11016
  readonly referrerPolicy: ReferrerPolicy;
12092
- /**
12093
- * Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler.
12094
- */
11017
+ /** Returns the signal associated with request, which is an AbortSignal object indicating whether or not request has been aborted, and its abort event handler. */
12095
11018
  readonly signal: AbortSignal;
12096
- /**
12097
- * Returns the URL of request as a string.
12098
- */
11019
+ /** Returns the URL of request as a string. */
12099
11020
  readonly url: string;
12100
11021
  clone(): Request;
12101
11022
  }
@@ -12484,7 +11405,7 @@ interface SVGElementEventMap extends ElementEventMap, DocumentAndElementEventHan
12484
11405
  }
12485
11406
 
12486
11407
  /** All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface. */
12487
- interface SVGElement extends Element, DocumentAndElementEventHandlers, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, GlobalEventHandlers, HTMLOrSVGElement {
11408
+ interface SVGElement extends Element, DocumentAndElementEventHandlers, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {
12488
11409
  /** @deprecated */
12489
11410
  readonly className: any;
12490
11411
  readonly ownerSVGElement: SVGSVGElement | null;
@@ -14003,7 +12924,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
14003
12924
  readonly scriptURL: string;
14004
12925
  readonly state: ServiceWorkerState;
14005
12926
  postMessage(message: any, transfer: Transferable[]): void;
14006
- postMessage(message: any, options?: PostMessageOptions): void;
12927
+ postMessage(message: any, options?: StructuredSerializeOptions): void;
14007
12928
  addEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
14008
12929
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
14009
12930
  removeEventListener<K extends keyof ServiceWorkerEventMap>(type: K, listener: (this: ServiceWorker, ev: ServiceWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -14075,9 +12996,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
14075
12996
  readonly delegatesFocus: boolean;
14076
12997
  readonly host: Element;
14077
12998
  readonly mode: ShadowRootMode;
14078
- /**
14079
- * Throws a "NotSupportedError" DOMException if context object is a shadow root.
14080
- */
12999
+ /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
14081
13000
  }
14082
13001
 
14083
13002
  declare var ShadowRoot: {
@@ -14086,9 +13005,7 @@ declare var ShadowRoot: {
14086
13005
  };
14087
13006
 
14088
13007
  interface SharedWorker extends EventTarget, AbstractWorker {
14089
- /**
14090
- * Returns sharedWorker's MessagePort object which can be used to communicate with the global environment.
14091
- */
13008
+ /** Returns sharedWorker's MessagePort object which can be used to communicate with the global environment. */
14092
13009
  readonly port: MessagePort;
14093
13010
  addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
14094
13011
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -14315,9 +13232,7 @@ declare var StereoPannerNode: {
14315
13232
 
14316
13233
  /** This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items. */
14317
13234
  interface Storage {
14318
- /**
14319
- * Returns the number of key/value pairs.
14320
- */
13235
+ /** Returns the number of key/value pairs. */
14321
13236
  readonly length: number;
14322
13237
  /**
14323
13238
  * Removes all key/value pairs, if there are any.
@@ -14325,13 +13240,9 @@ interface Storage {
14325
13240
  * Dispatches a storage event on Window objects holding an equivalent Storage object.
14326
13241
  */
14327
13242
  clear(): void;
14328
- /**
14329
- * Returns the current value associated with the given key, or null if the given key does not exist.
14330
- */
13243
+ /** Returns the current value associated with the given key, or null if the given key does not exist. */
14331
13244
  getItem(key: string): string | null;
14332
- /**
14333
- * Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
14334
- */
13245
+ /** Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs. */
14335
13246
  key(index: number): string | null;
14336
13247
  /**
14337
13248
  * Removes the key/value pair with the given key, if a key/value pair with the given key exists.
@@ -14357,25 +13268,15 @@ declare var Storage: {
14357
13268
 
14358
13269
  /** A StorageEvent is sent to a window when a storage area it has access to is changed within the context of another document. */
14359
13270
  interface StorageEvent extends Event {
14360
- /**
14361
- * Returns the key of the storage item being changed.
14362
- */
13271
+ /** Returns the key of the storage item being changed. */
14363
13272
  readonly key: string | null;
14364
- /**
14365
- * Returns the new value of the key of the storage item whose value is being changed.
14366
- */
13273
+ /** Returns the new value of the key of the storage item whose value is being changed. */
14367
13274
  readonly newValue: string | null;
14368
- /**
14369
- * Returns the old value of the key of the storage item whose value is being changed.
14370
- */
13275
+ /** Returns the old value of the key of the storage item whose value is being changed. */
14371
13276
  readonly oldValue: string | null;
14372
- /**
14373
- * Returns the Storage object that was affected.
14374
- */
13277
+ /** Returns the Storage object that was affected. */
14375
13278
  readonly storageArea: Storage | null;
14376
- /**
14377
- * Returns the URL of the document whose storage item changed.
14378
- */
13279
+ /** Returns the URL of the document whose storage item changed. */
14379
13280
  readonly url: string;
14380
13281
  initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
14381
13282
  }
@@ -14431,9 +13332,7 @@ declare var StyleSheetList: {
14431
13332
  };
14432
13333
 
14433
13334
  interface SubmitEvent extends Event {
14434
- /**
14435
- * Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button.
14436
- */
13335
+ /** Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button. */
14437
13336
  readonly submitter: HTMLElement | null;
14438
13337
  }
14439
13338
 
@@ -14470,13 +13369,9 @@ declare var SubtleCrypto: {
14470
13369
  /** The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children. */
14471
13370
  interface Text extends CharacterData, Slottable {
14472
13371
  readonly assignedSlot: HTMLSlotElement | null;
14473
- /**
14474
- * Returns the combined data of all direct Text node siblings.
14475
- */
13372
+ /** Returns the combined data of all direct Text node siblings. */
14476
13373
  readonly wholeText: string;
14477
- /**
14478
- * Splits data at the given offset and returns the remainder as Text node.
14479
- */
13374
+ /** Splits data at the given offset and returns the remainder as Text node. */
14480
13375
  splitText(offset: number): Text;
14481
13376
  }
14482
13377
 
@@ -14509,17 +13404,11 @@ declare var TextDecoder: {
14509
13404
  };
14510
13405
 
14511
13406
  interface TextDecoderCommon {
14512
- /**
14513
- * Returns encoding's name, lowercased.
14514
- */
13407
+ /** Returns encoding's name, lowercased. */
14515
13408
  readonly encoding: string;
14516
- /**
14517
- * Returns true if error mode is "fatal", otherwise false.
14518
- */
13409
+ /** Returns true if error mode is "fatal", otherwise false. */
14519
13410
  readonly fatal: boolean;
14520
- /**
14521
- * Returns the value of ignore BOM.
14522
- */
13411
+ /** Returns the value of ignore BOM. */
14523
13412
  readonly ignoreBOM: boolean;
14524
13413
  }
14525
13414
 
@@ -14535,13 +13424,9 @@ declare var TextDecoderStream: {
14535
13424
 
14536
13425
  /** TextEncoder takes a stream of code points as input and emits a stream of bytes. For a more scalable, non-native library, see StringView – a C-like representation of strings based on typed arrays. */
14537
13426
  interface TextEncoder extends TextEncoderCommon {
14538
- /**
14539
- * Returns the result of running UTF-8's encoder.
14540
- */
13427
+ /** Returns the result of running UTF-8's encoder. */
14541
13428
  encode(input?: string): Uint8Array;
14542
- /**
14543
- * Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
14544
- */
13429
+ /** Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination. */
14545
13430
  encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;
14546
13431
  }
14547
13432
 
@@ -14551,9 +13436,7 @@ declare var TextEncoder: {
14551
13436
  };
14552
13437
 
14553
13438
  interface TextEncoderCommon {
14554
- /**
14555
- * Returns "utf-8".
14556
- */
13439
+ /** Returns "utf-8". */
14557
13440
  readonly encoding: string;
14558
13441
  }
14559
13442
 
@@ -14569,33 +13452,19 @@ declare var TextEncoderStream: {
14569
13452
 
14570
13453
  /** The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method. */
14571
13454
  interface TextMetrics {
14572
- /**
14573
- * Returns the measurement described below.
14574
- */
13455
+ /** Returns the measurement described below. */
14575
13456
  readonly actualBoundingBoxAscent: number;
14576
- /**
14577
- * Returns the measurement described below.
14578
- */
13457
+ /** Returns the measurement described below. */
14579
13458
  readonly actualBoundingBoxDescent: number;
14580
- /**
14581
- * Returns the measurement described below.
14582
- */
13459
+ /** Returns the measurement described below. */
14583
13460
  readonly actualBoundingBoxLeft: number;
14584
- /**
14585
- * Returns the measurement described below.
14586
- */
13461
+ /** Returns the measurement described below. */
14587
13462
  readonly actualBoundingBoxRight: number;
14588
- /**
14589
- * Returns the measurement described below.
14590
- */
13463
+ /** Returns the measurement described below. */
14591
13464
  readonly fontBoundingBoxAscent: number;
14592
- /**
14593
- * Returns the measurement described below.
14594
- */
13465
+ /** Returns the measurement described below. */
14595
13466
  readonly fontBoundingBoxDescent: number;
14596
- /**
14597
- * Returns the measurement described below.
14598
- */
13467
+ /** Returns the measurement described below. */
14599
13468
  readonly width: number;
14600
13469
  }
14601
13470
 
@@ -14610,13 +13479,9 @@ interface TextTrackEventMap {
14610
13479
 
14611
13480
  /** This interface also inherits properties from EventTarget. */
14612
13481
  interface TextTrack extends EventTarget {
14613
- /**
14614
- * Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.
14615
- */
13482
+ /** Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object. */
14616
13483
  readonly activeCues: TextTrackCueList | null;
14617
- /**
14618
- * Returns the text track list of cues, as a TextTrackCueList object.
14619
- */
13484
+ /** Returns the text track list of cues, as a TextTrackCueList object. */
14620
13485
  readonly cues: TextTrackCueList | null;
14621
13486
  /**
14622
13487
  * Returns the ID of the given track.
@@ -14626,21 +13491,13 @@ interface TextTrack extends EventTarget {
14626
13491
  * For TextTrack objects corresponding to track elements, this is the ID of the track element.
14627
13492
  */
14628
13493
  readonly id: string;
14629
- /**
14630
- * Returns the text track in-band metadata track dispatch type string.
14631
- */
13494
+ /** Returns the text track in-band metadata track dispatch type string. */
14632
13495
  readonly inBandMetadataTrackDispatchType: string;
14633
- /**
14634
- * Returns the text track kind string.
14635
- */
13496
+ /** Returns the text track kind string. */
14636
13497
  readonly kind: TextTrackKind;
14637
- /**
14638
- * Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).
14639
- */
13498
+ /** Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user). */
14640
13499
  readonly label: string;
14641
- /**
14642
- * Returns the text track language string.
14643
- */
13500
+ /** Returns the text track language string. */
14644
13501
  readonly language: string;
14645
13502
  /**
14646
13503
  * Returns the text track mode, represented by a string from the following list:
@@ -14649,13 +13506,9 @@ interface TextTrack extends EventTarget {
14649
13506
  */
14650
13507
  mode: TextTrackMode;
14651
13508
  oncuechange: ((this: TextTrack, ev: Event) => any) | null;
14652
- /**
14653
- * Adds the given cue to textTrack's text track list of cues.
14654
- */
13509
+ /** Adds the given cue to textTrack's text track list of cues. */
14655
13510
  addCue(cue: TextTrackCue): void;
14656
- /**
14657
- * Removes the given cue from textTrack's text track list of cues.
14658
- */
13511
+ /** Removes the given cue from textTrack's text track list of cues. */
14659
13512
  removeCue(cue: TextTrackCue): void;
14660
13513
  addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
14661
13514
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -14701,9 +13554,7 @@ interface TextTrackCue extends EventTarget {
14701
13554
  * Can be set.
14702
13555
  */
14703
13556
  startTime: number;
14704
- /**
14705
- * Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.
14706
- */
13557
+ /** Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise. */
14707
13558
  readonly track: TextTrack | null;
14708
13559
  addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
14709
13560
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -14717,9 +13568,7 @@ declare var TextTrackCue: {
14717
13568
  };
14718
13569
 
14719
13570
  interface TextTrackCueList {
14720
- /**
14721
- * Returns the number of cues in the list.
14722
- */
13571
+ /** Returns the number of cues in the list. */
14723
13572
  readonly length: number;
14724
13573
  /**
14725
13574
  * Returns the first text track cue (in text track cue order) with text track cue identifier id.
@@ -14761,9 +13610,7 @@ declare var TextTrackList: {
14761
13610
 
14762
13611
  /** Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the <audio> and <video> elements. */
14763
13612
  interface TimeRanges {
14764
- /**
14765
- * Returns the number of ranges in the object.
14766
- */
13613
+ /** Returns the number of ranges in the object. */
14767
13614
  readonly length: number;
14768
13615
  /**
14769
13616
  * Returns the time for the end of the range with the given index.
@@ -14835,9 +13682,7 @@ declare var TouchList: {
14835
13682
 
14836
13683
  /** The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack. */
14837
13684
  interface TrackEvent extends Event {
14838
- /**
14839
- * Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.
14840
- */
13685
+ /** Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates. */
14841
13686
  readonly track: TextTrack | null;
14842
13687
  }
14843
13688
 
@@ -14936,7 +13781,7 @@ interface URL {
14936
13781
  declare var URL: {
14937
13782
  prototype: URL;
14938
13783
  new(url: string | URL, base?: string | URL): URL;
14939
- createObjectURL(object: any): string;
13784
+ createObjectURL(obj: Blob | MediaSource): string;
14940
13785
  revokeObjectURL(url: string): void;
14941
13786
  };
14942
13787
 
@@ -14944,34 +13789,20 @@ type webkitURL = URL;
14944
13789
  declare var webkitURL: typeof URL;
14945
13790
 
14946
13791
  interface URLSearchParams {
14947
- /**
14948
- * Appends a specified key/value pair as a new search parameter.
14949
- */
13792
+ /** Appends a specified key/value pair as a new search parameter. */
14950
13793
  append(name: string, value: string): void;
14951
- /**
14952
- * Deletes the given search parameter, and its associated value, from the list of all search parameters.
14953
- */
13794
+ /** Deletes the given search parameter, and its associated value, from the list of all search parameters. */
14954
13795
  delete(name: string): void;
14955
- /**
14956
- * Returns the first value associated to the given search parameter.
14957
- */
13796
+ /** Returns the first value associated to the given search parameter. */
14958
13797
  get(name: string): string | null;
14959
- /**
14960
- * Returns all the values association with a given search parameter.
14961
- */
13798
+ /** Returns all the values association with a given search parameter. */
14962
13799
  getAll(name: string): string[];
14963
- /**
14964
- * Returns a Boolean indicating if such a search parameter exists.
14965
- */
13800
+ /** Returns a Boolean indicating if such a search parameter exists. */
14966
13801
  has(name: string): boolean;
14967
- /**
14968
- * Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
14969
- */
13802
+ /** Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. */
14970
13803
  set(name: string, value: string): void;
14971
13804
  sort(): void;
14972
- /**
14973
- * Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
14974
- */
13805
+ /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */
14975
13806
  toString(): string;
14976
13807
  forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void;
14977
13808
  }
@@ -17131,33 +15962,21 @@ interface WebSocket extends EventTarget {
17131
15962
  * If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)
17132
15963
  */
17133
15964
  readonly bufferedAmount: number;
17134
- /**
17135
- * Returns the extensions selected by the server, if any.
17136
- */
15965
+ /** Returns the extensions selected by the server, if any. */
17137
15966
  readonly extensions: string;
17138
15967
  onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
17139
15968
  onerror: ((this: WebSocket, ev: Event) => any) | null;
17140
15969
  onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
17141
15970
  onopen: ((this: WebSocket, ev: Event) => any) | null;
17142
- /**
17143
- * Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation.
17144
- */
15971
+ /** Returns the subprotocol selected by the server, if any. It can be used in conjunction with the array form of the constructor's second argument to perform subprotocol negotiation. */
17145
15972
  readonly protocol: string;
17146
- /**
17147
- * Returns the state of the WebSocket object's connection. It can have the values described below.
17148
- */
15973
+ /** Returns the state of the WebSocket object's connection. It can have the values described below. */
17149
15974
  readonly readyState: number;
17150
- /**
17151
- * Returns the URL that was used to establish the WebSocket connection.
17152
- */
15975
+ /** Returns the URL that was used to establish the WebSocket connection. */
17153
15976
  readonly url: string;
17154
- /**
17155
- * Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason.
17156
- */
15977
+ /** Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. */
17157
15978
  close(code?: number, reason?: string): void;
17158
- /**
17159
- * Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView.
17160
- */
15979
+ /** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */
17161
15980
  send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
17162
15981
  readonly CLOSED: number;
17163
15982
  readonly CLOSING: number;
@@ -17209,13 +16028,9 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
17209
16028
  interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {
17210
16029
  /** @deprecated This is a legacy alias of `navigator`. */
17211
16030
  readonly clientInformation: Navigator;
17212
- /**
17213
- * Returns true if the window has been closed, false otherwise.
17214
- */
16031
+ /** Returns true if the window has been closed, false otherwise. */
17215
16032
  readonly closed: boolean;
17216
- /**
17217
- * Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
17218
- */
16033
+ /** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */
17219
16034
  readonly customElements: CustomElementRegistry;
17220
16035
  readonly devicePixelRatio: number;
17221
16036
  readonly document: Document;
@@ -17231,13 +16046,9 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
17231
16046
  readonly length: number;
17232
16047
  get location(): Location;
17233
16048
  set location(href: string | Location);
17234
- /**
17235
- * Returns true if the location bar is visible; otherwise, returns false.
17236
- */
16049
+ /** Returns true if the location bar is visible; otherwise, returns false. */
17237
16050
  readonly locationbar: BarProp;
17238
- /**
17239
- * Returns true if the menu bar is visible; otherwise, returns false.
17240
- */
16051
+ /** Returns true if the menu bar is visible; otherwise, returns false. */
17241
16052
  readonly menubar: BarProp;
17242
16053
  name: string;
17243
16054
  readonly navigator: Navigator;
@@ -17254,11 +16065,13 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
17254
16065
  readonly pageXOffset: number;
17255
16066
  /** @deprecated This is a legacy alias of `scrollY`. */
17256
16067
  readonly pageYOffset: number;
17257
- /** Refers to either the parent WindowProxy, or itself. It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent. */
17258
- readonly parent: WindowProxy;
17259
16068
  /**
17260
- * Returns true if the personal bar is visible; otherwise, returns false.
16069
+ * Refers to either the parent WindowProxy, or itself.
16070
+ *
16071
+ * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.
17261
16072
  */
16073
+ readonly parent: WindowProxy;
16074
+ /** Returns true if the personal bar is visible; otherwise, returns false. */
17262
16075
  readonly personalbar: BarProp;
17263
16076
  readonly screen: Screen;
17264
16077
  readonly screenLeft: number;
@@ -17267,21 +16080,15 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
17267
16080
  readonly screenY: number;
17268
16081
  readonly scrollX: number;
17269
16082
  readonly scrollY: number;
17270
- /**
17271
- * Returns true if the scrollbars are visible; otherwise, returns false.
17272
- */
16083
+ /** Returns true if the scrollbars are visible; otherwise, returns false. */
17273
16084
  readonly scrollbars: BarProp;
17274
16085
  readonly self: Window & typeof globalThis;
17275
16086
  readonly speechSynthesis: SpeechSynthesis;
17276
16087
  /** @deprecated */
17277
16088
  status: string;
17278
- /**
17279
- * Returns true if the status bar is visible; otherwise, returns false.
17280
- */
16089
+ /** Returns true if the status bar is visible; otherwise, returns false. */
17281
16090
  readonly statusbar: BarProp;
17282
- /**
17283
- * Returns true if the toolbar is visible; otherwise, returns false.
17284
- */
16091
+ /** Returns true if the toolbar is visible; otherwise, returns false. */
17285
16092
  readonly toolbar: BarProp;
17286
16093
  readonly top: WindowProxy | null;
17287
16094
  readonly visualViewport: VisualViewport;
@@ -17291,14 +16098,10 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
17291
16098
  cancelIdleCallback(handle: number): void;
17292
16099
  /** @deprecated */
17293
16100
  captureEvents(): void;
17294
- /**
17295
- * Closes the window.
17296
- */
16101
+ /** Closes the window. */
17297
16102
  close(): void;
17298
16103
  confirm(message?: string): boolean;
17299
- /**
17300
- * Moves the focus to the window's browsing context, if any.
17301
- */
16104
+ /** Moves the focus to the window's browsing context, if any. */
17302
16105
  focus(): void;
17303
16106
  getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
17304
16107
  getSelection(): Selection | null;
@@ -17332,9 +16135,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
17332
16135
  scrollBy(x: number, y: number): void;
17333
16136
  scrollTo(options?: ScrollToOptions): void;
17334
16137
  scrollTo(x: number, y: number): void;
17335
- /**
17336
- * Cancels the document load.
17337
- */
16138
+ /** Cancels the document load. */
17338
16139
  stop(): void;
17339
16140
  addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
17340
16141
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17352,9 +16153,9 @@ interface WindowEventHandlersEventMap {
17352
16153
  "afterprint": Event;
17353
16154
  "beforeprint": Event;
17354
16155
  "beforeunload": BeforeUnloadEvent;
17355
- "gamepadconnected": Event;
17356
- "gamepaddisconnected": Event;
17357
- "hashchange": Event;
16156
+ "gamepadconnected": GamepadEvent;
16157
+ "gamepaddisconnected": GamepadEvent;
16158
+ "hashchange": HashChangeEvent;
17358
16159
  "languagechange": Event;
17359
16160
  "message": MessageEvent;
17360
16161
  "messageerror": MessageEvent;
@@ -17373,9 +16174,9 @@ interface WindowEventHandlers {
17373
16174
  onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
17374
16175
  onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;
17375
16176
  onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;
17376
- ongamepadconnected: ((this: WindowEventHandlers, ev: Event) => any) | null;
17377
- ongamepaddisconnected: ((this: WindowEventHandlers, ev: Event) => any) | null;
17378
- onhashchange: ((this: WindowEventHandlers, ev: Event) => any) | null;
16177
+ ongamepadconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;
16178
+ ongamepaddisconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;
16179
+ onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;
17379
16180
  onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;
17380
16181
  onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;
17381
16182
  onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;
@@ -17431,14 +16232,10 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
17431
16232
  interface Worker extends EventTarget, AbstractWorker {
17432
16233
  onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
17433
16234
  onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;
17434
- /**
17435
- * Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
17436
- */
16235
+ /** Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned. */
17437
16236
  postMessage(message: any, transfer: Transferable[]): void;
17438
- postMessage(message: any, options?: PostMessageOptions): void;
17439
- /**
17440
- * Aborts worker's associated global environment.
17441
- */
16237
+ postMessage(message: any, options?: StructuredSerializeOptions): void;
16238
+ /** Aborts worker's associated global environment. */
17442
16239
  terminate(): void;
17443
16240
  addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
17444
16241
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17526,13 +16323,9 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
17526
16323
  /** Use XMLHttpRequest (XHR) objects to interact with servers. You can retrieve data from a URL without having to do a full page refresh. This enables a Web page to update just part of a page without disrupting what the user is doing. */
17527
16324
  interface XMLHttpRequest extends XMLHttpRequestEventTarget {
17528
16325
  onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;
17529
- /**
17530
- * Returns client's state.
17531
- */
16326
+ /** Returns client's state. */
17532
16327
  readonly readyState: number;
17533
- /**
17534
- * Returns the response body.
17535
- */
16328
+ /** Returns the response body. */
17536
16329
  readonly response: any;
17537
16330
  /**
17538
16331
  * Returns response as text.
@@ -17567,9 +16360,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
17567
16360
  * When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.
17568
16361
  */
17569
16362
  timeout: number;
17570
- /**
17571
- * Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server.
17572
- */
16363
+ /** Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server. */
17573
16364
  readonly upload: XMLHttpRequestUpload;
17574
16365
  /**
17575
16366
  * True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.
@@ -17577,9 +16368,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
17577
16368
  * When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.
17578
16369
  */
17579
16370
  withCredentials: boolean;
17580
- /**
17581
- * Cancels any network activity.
17582
- */
16371
+ /** Cancels any network activity. */
17583
16372
  abort(): void;
17584
16373
  getAllResponseHeaders(): string;
17585
16374
  getResponseHeader(name: string): string | null;
@@ -18273,13 +17062,9 @@ declare var Option: {
18273
17062
  };
18274
17063
  /** @deprecated This is a legacy alias of `navigator`. */
18275
17064
  declare var clientInformation: Navigator;
18276
- /**
18277
- * Returns true if the window has been closed, false otherwise.
18278
- */
17065
+ /** Returns true if the window has been closed, false otherwise. */
18279
17066
  declare var closed: boolean;
18280
- /**
18281
- * Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
18282
- */
17067
+ /** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */
18283
17068
  declare var customElements: CustomElementRegistry;
18284
17069
  declare var devicePixelRatio: number;
18285
17070
  declare var document: Document;
@@ -18294,13 +17079,9 @@ declare var innerHeight: number;
18294
17079
  declare var innerWidth: number;
18295
17080
  declare var length: number;
18296
17081
  declare var location: Location;
18297
- /**
18298
- * Returns true if the location bar is visible; otherwise, returns false.
18299
- */
17082
+ /** Returns true if the location bar is visible; otherwise, returns false. */
18300
17083
  declare var locationbar: BarProp;
18301
- /**
18302
- * Returns true if the menu bar is visible; otherwise, returns false.
18303
- */
17084
+ /** Returns true if the menu bar is visible; otherwise, returns false. */
18304
17085
  declare var menubar: BarProp;
18305
17086
  /** @deprecated */
18306
17087
  declare const name: void;
@@ -18318,11 +17099,13 @@ declare var outerWidth: number;
18318
17099
  declare var pageXOffset: number;
18319
17100
  /** @deprecated This is a legacy alias of `scrollY`. */
18320
17101
  declare var pageYOffset: number;
18321
- /** Refers to either the parent WindowProxy, or itself. It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent. */
18322
- declare var parent: WindowProxy;
18323
17102
  /**
18324
- * Returns true if the personal bar is visible; otherwise, returns false.
17103
+ * Refers to either the parent WindowProxy, or itself.
17104
+ *
17105
+ * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.
18325
17106
  */
17107
+ declare var parent: WindowProxy;
17108
+ /** Returns true if the personal bar is visible; otherwise, returns false. */
18326
17109
  declare var personalbar: BarProp;
18327
17110
  declare var screen: Screen;
18328
17111
  declare var screenLeft: number;
@@ -18331,21 +17114,15 @@ declare var screenX: number;
18331
17114
  declare var screenY: number;
18332
17115
  declare var scrollX: number;
18333
17116
  declare var scrollY: number;
18334
- /**
18335
- * Returns true if the scrollbars are visible; otherwise, returns false.
18336
- */
17117
+ /** Returns true if the scrollbars are visible; otherwise, returns false. */
18337
17118
  declare var scrollbars: BarProp;
18338
17119
  declare var self: Window & typeof globalThis;
18339
17120
  declare var speechSynthesis: SpeechSynthesis;
18340
17121
  /** @deprecated */
18341
17122
  declare var status: string;
18342
- /**
18343
- * Returns true if the status bar is visible; otherwise, returns false.
18344
- */
17123
+ /** Returns true if the status bar is visible; otherwise, returns false. */
18345
17124
  declare var statusbar: BarProp;
18346
- /**
18347
- * Returns true if the toolbar is visible; otherwise, returns false.
18348
- */
17125
+ /** Returns true if the toolbar is visible; otherwise, returns false. */
18349
17126
  declare var toolbar: BarProp;
18350
17127
  declare var top: WindowProxy | null;
18351
17128
  declare var visualViewport: VisualViewport;
@@ -18355,14 +17132,10 @@ declare function blur(): void;
18355
17132
  declare function cancelIdleCallback(handle: number): void;
18356
17133
  /** @deprecated */
18357
17134
  declare function captureEvents(): void;
18358
- /**
18359
- * Closes the window.
18360
- */
17135
+ /** Closes the window. */
18361
17136
  declare function close(): void;
18362
17137
  declare function confirm(message?: string): boolean;
18363
- /**
18364
- * Moves the focus to the window's browsing context, if any.
18365
- */
17138
+ /** Moves the focus to the window's browsing context, if any. */
18366
17139
  declare function focus(): void;
18367
17140
  declare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
18368
17141
  declare function getSelection(): Selection | null;
@@ -18396,14 +17169,10 @@ declare function scrollBy(options?: ScrollToOptions): void;
18396
17169
  declare function scrollBy(x: number, y: number): void;
18397
17170
  declare function scrollTo(options?: ScrollToOptions): void;
18398
17171
  declare function scrollTo(x: number, y: number): void;
18399
- /**
18400
- * Cancels the document load.
18401
- */
17172
+ /** Cancels the document load. */
18402
17173
  declare function stop(): void;
18403
17174
  declare function toString(): string;
18404
- /**
18405
- * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
18406
- */
17175
+ /** Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. */
18407
17176
  declare function dispatchEvent(event: Event): boolean;
18408
17177
  declare function cancelAnimationFrame(handle: number): void;
18409
17178
  declare function requestAnimationFrame(callback: FrameRequestCallback): number;
@@ -18640,7 +17409,7 @@ declare var onselectstart: ((this: Window, ev: Event) => any) | null;
18640
17409
  * @param ev The event.
18641
17410
  */
18642
17411
  declare var onstalled: ((this: Window, ev: Event) => any) | null;
18643
- declare var onsubmit: ((this: Window, ev: Event) => any) | null;
17412
+ declare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null;
18644
17413
  /**
18645
17414
  * Occurs if the load operation has been intentionally halted.
18646
17415
  * @param ev The event.
@@ -18670,17 +17439,21 @@ declare var onvolumechange: ((this: Window, ev: Event) => any) | null;
18670
17439
  * @param ev The event.
18671
17440
  */
18672
17441
  declare var onwaiting: ((this: Window, ev: Event) => any) | null;
17442
+ /** @deprecated This is a legacy alias of `onanimationend`. */
18673
17443
  declare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null;
17444
+ /** @deprecated This is a legacy alias of `onanimationiteration`. */
18674
17445
  declare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null;
17446
+ /** @deprecated This is a legacy alias of `onanimationstart`. */
18675
17447
  declare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null;
17448
+ /** @deprecated This is a legacy alias of `ontransitionend`. */
18676
17449
  declare var onwebkittransitionend: ((this: Window, ev: Event) => any) | null;
18677
17450
  declare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;
18678
17451
  declare var onafterprint: ((this: Window, ev: Event) => any) | null;
18679
17452
  declare var onbeforeprint: ((this: Window, ev: Event) => any) | null;
18680
17453
  declare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;
18681
- declare var ongamepadconnected: ((this: Window, ev: Event) => any) | null;
18682
- declare var ongamepaddisconnected: ((this: Window, ev: Event) => any) | null;
18683
- declare var onhashchange: ((this: Window, ev: Event) => any) | null;
17454
+ declare var ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;
17455
+ declare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;
17456
+ declare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;
18684
17457
  declare var onlanguagechange: ((this: Window, ev: Event) => any) | null;
18685
17458
  declare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;
18686
17459
  declare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;
@@ -18856,7 +17629,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
18856
17629
  type OverSampleType = "2x" | "4x" | "none";
18857
17630
  type PanningModelType = "HRTF" | "equalpower";
18858
17631
  type PaymentComplete = "fail" | "success" | "unknown";
18859
- type PermissionName = "gamepad" | "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
17632
+ type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock";
18860
17633
  type PermissionState = "denied" | "granted" | "prompt";
18861
17634
  type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
18862
17635
  type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";