@types/web 0.0.165 → 0.0.167

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/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.165 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.165.
50
+ You can read what changed in version 0.0.167 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.167.
package/index.d.ts CHANGED
@@ -10160,7 +10160,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10160
10160
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
10161
10161
  */
10162
10162
  type: "submit" | "reset" | "button";
10163
- /** 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. */
10163
+ /**
10164
+ * 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.
10165
+ *
10166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10167
+ */
10164
10168
  readonly validationMessage: string;
10165
10169
  /**
10166
10170
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10191,6 +10195,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10191
10195
  /**
10192
10196
  * Sets a custom error message that is displayed when a form is submitted.
10193
10197
  * @param error Sets a custom error message that is displayed when a form is submitted.
10198
+ *
10199
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
10194
10200
  */
10195
10201
  setCustomValidity(error: string): void;
10196
10202
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10580,8 +10586,13 @@ declare var HTMLEmbedElement: {
10580
10586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
10581
10587
  */
10582
10588
  interface HTMLFieldSetElement extends HTMLElement {
10589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
10583
10590
  disabled: boolean;
10584
- /** Returns an HTMLCollection of the form controls in the element. */
10591
+ /**
10592
+ * Returns an HTMLCollection of the form controls in the element.
10593
+ *
10594
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10595
+ */
10585
10596
  readonly elements: HTMLCollection;
10586
10597
  /**
10587
10598
  * Retrieves a reference to the form that the object is embedded in.
@@ -10597,7 +10608,11 @@ interface HTMLFieldSetElement extends HTMLElement {
10597
10608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
10609
  */
10599
10610
  readonly type: string;
10600
- /** 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. */
10611
+ /**
10612
+ * 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.
10613
+ *
10614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10615
+ */
10601
10616
  readonly validationMessage: string;
10602
10617
  /**
10603
10618
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10622,6 +10637,8 @@ interface HTMLFieldSetElement extends HTMLElement {
10622
10637
  /**
10623
10638
  * Sets a custom error message that is displayed when a form is submitted.
10624
10639
  * @param error Sets a custom error message that is displayed when a form is submitted.
10640
+ *
10641
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
10625
10642
  */
10626
10643
  setCustomValidity(error: string): void;
10627
10644
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11401,7 +11418,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11401
11418
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11402
11419
  */
11403
11420
  height: number;
11404
- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11421
+ /**
11422
+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11423
+ *
11424
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11425
+ */
11405
11426
  indeterminate: boolean;
11406
11427
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
11407
11428
  readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11502,7 +11523,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11502
11523
  * @deprecated
11503
11524
  */
11504
11525
  useMap: string;
11505
- /** 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. */
11526
+ /**
11527
+ * 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.
11528
+ *
11529
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11530
+ */
11506
11531
  readonly validationMessage: string;
11507
11532
  /**
11508
11533
  * Returns a ValidityState object that represents the validity states of an element.
@@ -12343,8 +12368,13 @@ declare var HTMLObjectElement: {
12343
12368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
12344
12369
  */
12345
12370
  interface HTMLOptGroupElement extends HTMLElement {
12371
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
12346
12372
  disabled: boolean;
12347
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12373
+ /**
12374
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12375
+ *
12376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12377
+ */
12348
12378
  label: string;
12349
12379
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12350
12380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12363,8 +12393,13 @@ declare var HTMLOptGroupElement: {
12363
12393
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
12364
12394
  */
12365
12395
  interface HTMLOptionElement extends HTMLElement {
12366
- /** Sets or retrieves the status of an option. */
12396
+ /**
12397
+ * Sets or retrieves the status of an option.
12398
+ *
12399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12400
+ */
12367
12401
  defaultSelected: boolean;
12402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
12368
12403
  disabled: boolean;
12369
12404
  /**
12370
12405
  * Retrieves a reference to the form that the object is embedded in.
@@ -12372,13 +12407,29 @@ interface HTMLOptionElement extends HTMLElement {
12372
12407
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12373
12408
  */
12374
12409
  readonly form: HTMLFormElement | null;
12375
- /** Sets or retrieves the ordinal position of an option in a list box. */
12410
+ /**
12411
+ * Sets or retrieves the ordinal position of an option in a list box.
12412
+ *
12413
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12414
+ */
12376
12415
  readonly index: number;
12377
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12416
+ /**
12417
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12418
+ *
12419
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12420
+ */
12378
12421
  label: string;
12379
- /** Sets or retrieves whether the option in the list box is the default item. */
12422
+ /**
12423
+ * Sets or retrieves whether the option in the list box is the default item.
12424
+ *
12425
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12426
+ */
12380
12427
  selected: boolean;
12381
- /** Sets or retrieves the text string specified by the option tag. */
12428
+ /**
12429
+ * Sets or retrieves the text string specified by the option tag.
12430
+ *
12431
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12432
+ */
12382
12433
  text: string;
12383
12434
  /**
12384
12435
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12471,6 +12522,7 @@ interface HTMLOutputElement extends HTMLElement {
12471
12522
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12472
12523
  */
12473
12524
  readonly type: string;
12525
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
12474
12526
  readonly validationMessage: string;
12475
12527
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12476
12528
  readonly validity: ValidityState;
@@ -12488,6 +12540,7 @@ interface HTMLOutputElement extends HTMLElement {
12488
12540
  checkValidity(): boolean;
12489
12541
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
12490
12542
  reportValidity(): boolean;
12543
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
12491
12544
  setCustomValidity(error: string): void;
12492
12545
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12493
12546
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12793,7 +12846,11 @@ interface HTMLSelectElement extends HTMLElement {
12793
12846
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
12794
12847
  */
12795
12848
  readonly type: "select-one" | "select-multiple";
12796
- /** 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. */
12849
+ /**
12850
+ * 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.
12851
+ *
12852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12853
+ */
12797
12854
  readonly validationMessage: string;
12798
12855
  /**
12799
12856
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13604,7 +13661,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13604
13661
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13605
13662
  */
13606
13663
  readonly type: string;
13607
- /** 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. */
13664
+ /**
13665
+ * 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.
13666
+ *
13667
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13668
+ */
13608
13669
  readonly validationMessage: string;
13609
13670
  /**
13610
13671
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13647,6 +13708,8 @@ interface HTMLTextAreaElement extends HTMLElement {
13647
13708
  /**
13648
13709
  * Sets a custom error message that is displayed when a form is submitted.
13649
13710
  * @param error Sets a custom error message that is displayed when a form is submitted.
13711
+ *
13712
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
13650
13713
  */
13651
13714
  setCustomValidity(error: string): void;
13652
13715
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
@@ -26579,15 +26642,15 @@ interface WindowOrWorkerGlobalScope {
26579
26642
  createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
26580
26643
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
26581
26644
  fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
26582
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
26645
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
26583
26646
  queueMicrotask(callback: VoidFunction): void;
26584
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */
26647
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
26585
26648
  reportError(e: any): void;
26586
26649
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
26587
26650
  setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
26588
26651
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
26589
26652
  setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
26590
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
26653
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
26591
26654
  structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
26592
26655
  }
26593
26656
 
@@ -28627,15 +28690,15 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
28627
28690
  declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
28628
28691
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
28629
28692
  declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
28630
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
28693
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
28631
28694
  declare function queueMicrotask(callback: VoidFunction): void;
28632
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */
28695
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
28633
28696
  declare function reportError(e: any): void;
28634
28697
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
28635
28698
  declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
28636
28699
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
28637
28700
  declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
28638
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
28701
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
28639
28702
  declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
28640
28703
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */
28641
28704
  declare var sessionStorage: Storage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.165",
3
+ "version": "0.0.167",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -10160,7 +10160,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10160
10160
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
10161
10161
  */
10162
10162
  type: "submit" | "reset" | "button";
10163
- /** 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. */
10163
+ /**
10164
+ * 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.
10165
+ *
10166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
10167
+ */
10164
10168
  readonly validationMessage: string;
10165
10169
  /**
10166
10170
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10191,6 +10195,8 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
10191
10195
  /**
10192
10196
  * Sets a custom error message that is displayed when a form is submitted.
10193
10197
  * @param error Sets a custom error message that is displayed when a form is submitted.
10198
+ *
10199
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
10194
10200
  */
10195
10201
  setCustomValidity(error: string): void;
10196
10202
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10580,8 +10586,13 @@ declare var HTMLEmbedElement: {
10580
10586
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
10581
10587
  */
10582
10588
  interface HTMLFieldSetElement extends HTMLElement {
10589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
10583
10590
  disabled: boolean;
10584
- /** Returns an HTMLCollection of the form controls in the element. */
10591
+ /**
10592
+ * Returns an HTMLCollection of the form controls in the element.
10593
+ *
10594
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
10595
+ */
10585
10596
  readonly elements: HTMLCollection;
10586
10597
  /**
10587
10598
  * Retrieves a reference to the form that the object is embedded in.
@@ -10597,7 +10608,11 @@ interface HTMLFieldSetElement extends HTMLElement {
10597
10608
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
10609
  */
10599
10610
  readonly type: string;
10600
- /** 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. */
10611
+ /**
10612
+ * 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.
10613
+ *
10614
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
10615
+ */
10601
10616
  readonly validationMessage: string;
10602
10617
  /**
10603
10618
  * Returns a ValidityState object that represents the validity states of an element.
@@ -10622,6 +10637,8 @@ interface HTMLFieldSetElement extends HTMLElement {
10622
10637
  /**
10623
10638
  * Sets a custom error message that is displayed when a form is submitted.
10624
10639
  * @param error Sets a custom error message that is displayed when a form is submitted.
10640
+ *
10641
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
10625
10642
  */
10626
10643
  setCustomValidity(error: string): void;
10627
10644
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -11401,7 +11418,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11401
11418
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11402
11419
  */
11403
11420
  height: number;
11404
- /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11421
+ /**
11422
+ * When set, overrides the rendering of checkbox controls so that the current value is not visible.
11423
+ *
11424
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
11425
+ */
11405
11426
  indeterminate: boolean;
11406
11427
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
11407
11428
  readonly labels: NodeListOf<HTMLLabelElement> | null;
@@ -11502,7 +11523,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11502
11523
  * @deprecated
11503
11524
  */
11504
11525
  useMap: string;
11505
- /** 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. */
11526
+ /**
11527
+ * 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.
11528
+ *
11529
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
11530
+ */
11506
11531
  readonly validationMessage: string;
11507
11532
  /**
11508
11533
  * Returns a ValidityState object that represents the validity states of an element.
@@ -12343,8 +12368,13 @@ declare var HTMLObjectElement: {
12343
12368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
12344
12369
  */
12345
12370
  interface HTMLOptGroupElement extends HTMLElement {
12371
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
12346
12372
  disabled: boolean;
12347
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12373
+ /**
12374
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12375
+ *
12376
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
12377
+ */
12348
12378
  label: string;
12349
12379
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12350
12380
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12363,8 +12393,13 @@ declare var HTMLOptGroupElement: {
12363
12393
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
12364
12394
  */
12365
12395
  interface HTMLOptionElement extends HTMLElement {
12366
- /** Sets or retrieves the status of an option. */
12396
+ /**
12397
+ * Sets or retrieves the status of an option.
12398
+ *
12399
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
12400
+ */
12367
12401
  defaultSelected: boolean;
12402
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
12368
12403
  disabled: boolean;
12369
12404
  /**
12370
12405
  * Retrieves a reference to the form that the object is embedded in.
@@ -12372,13 +12407,29 @@ interface HTMLOptionElement extends HTMLElement {
12372
12407
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12373
12408
  */
12374
12409
  readonly form: HTMLFormElement | null;
12375
- /** Sets or retrieves the ordinal position of an option in a list box. */
12410
+ /**
12411
+ * Sets or retrieves the ordinal position of an option in a list box.
12412
+ *
12413
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
12414
+ */
12376
12415
  readonly index: number;
12377
- /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */
12416
+ /**
12417
+ * Sets or retrieves a value that you can use to implement your own label functionality for the object.
12418
+ *
12419
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
12420
+ */
12378
12421
  label: string;
12379
- /** Sets or retrieves whether the option in the list box is the default item. */
12422
+ /**
12423
+ * Sets or retrieves whether the option in the list box is the default item.
12424
+ *
12425
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
12426
+ */
12380
12427
  selected: boolean;
12381
- /** Sets or retrieves the text string specified by the option tag. */
12428
+ /**
12429
+ * Sets or retrieves the text string specified by the option tag.
12430
+ *
12431
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
12432
+ */
12382
12433
  text: string;
12383
12434
  /**
12384
12435
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12471,6 +12522,7 @@ interface HTMLOutputElement extends HTMLElement {
12471
12522
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12472
12523
  */
12473
12524
  readonly type: string;
12525
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
12474
12526
  readonly validationMessage: string;
12475
12527
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12476
12528
  readonly validity: ValidityState;
@@ -12488,6 +12540,7 @@ interface HTMLOutputElement extends HTMLElement {
12488
12540
  checkValidity(): boolean;
12489
12541
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
12490
12542
  reportValidity(): boolean;
12543
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
12491
12544
  setCustomValidity(error: string): void;
12492
12545
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12493
12546
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12793,7 +12846,11 @@ interface HTMLSelectElement extends HTMLElement {
12793
12846
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
12794
12847
  */
12795
12848
  readonly type: "select-one" | "select-multiple";
12796
- /** 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. */
12849
+ /**
12850
+ * 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.
12851
+ *
12852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
12853
+ */
12797
12854
  readonly validationMessage: string;
12798
12855
  /**
12799
12856
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13604,7 +13661,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13604
13661
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13605
13662
  */
13606
13663
  readonly type: string;
13607
- /** 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. */
13664
+ /**
13665
+ * 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.
13666
+ *
13667
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
13668
+ */
13608
13669
  readonly validationMessage: string;
13609
13670
  /**
13610
13671
  * Returns a ValidityState object that represents the validity states of an element.
@@ -13647,6 +13708,8 @@ interface HTMLTextAreaElement extends HTMLElement {
13647
13708
  /**
13648
13709
  * Sets a custom error message that is displayed when a form is submitted.
13649
13710
  * @param error Sets a custom error message that is displayed when a form is submitted.
13711
+ *
13712
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
13650
13713
  */
13651
13714
  setCustomValidity(error: string): void;
13652
13715
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
@@ -26579,15 +26642,15 @@ interface WindowOrWorkerGlobalScope {
26579
26642
  createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
26580
26643
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
26581
26644
  fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
26582
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
26645
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
26583
26646
  queueMicrotask(callback: VoidFunction): void;
26584
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */
26647
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
26585
26648
  reportError(e: any): void;
26586
26649
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
26587
26650
  setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
26588
26651
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
26589
26652
  setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
26590
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
26653
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
26591
26654
  structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
26592
26655
  }
26593
26656
 
@@ -28627,15 +28690,15 @@ declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitm
28627
28690
  declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
28628
28691
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
28629
28692
  declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
28630
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
28693
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */
28631
28694
  declare function queueMicrotask(callback: VoidFunction): void;
28632
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/reportError) */
28695
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
28633
28696
  declare function reportError(e: any): void;
28634
28697
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
28635
28698
  declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
28636
28699
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
28637
28700
  declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
28638
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
28701
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
28639
28702
  declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
28640
28703
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */
28641
28704
  declare var sessionStorage: Storage;