@types/web 0.0.238 → 0.0.239

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
@@ -4,7 +4,7 @@ This module contains the DOM types for the majority of the web APIs used in a we
4
4
 
5
5
  The APIs inside `@types/web` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for CSS, HTML and JavaScript. Given the size and state of constant change in web browsers, `@types/web` only has APIs which have passed a certain level of standardization and are available in at least two of the most popular browser engines.
6
6
 
7
- `@types/web` is also included inside TypeScript, available as `dom` in the [`lib`](https://www.typescriptlang.org/tsconfig#lib) section and included in projects by default. By using `@types/web` you can lock your the web APIs used in your projects, easing the process of updating TypeScript and offering more control in your environment.
7
+ `@types/web` is also included inside TypeScript, available as `dom` in the [`lib`](https://www.typescriptlang.org/tsconfig#lib) section and included in projects by default. By using `@types/web` you can lock the web APIs used in your projects, easing the process of updating TypeScript and offering more control in your environment.
8
8
 
9
9
  ## Installation
10
10
 
@@ -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.238 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.238.
50
+ You can read what changed in version 0.0.239 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.239.
package/index.d.ts CHANGED
@@ -5082,7 +5082,7 @@ declare var CSSMathClamp: {
5082
5082
  };
5083
5083
 
5084
5084
  /**
5085
- * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
5085
+ * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
5086
5086
  *
5087
5087
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
5088
5088
  */
@@ -6624,6 +6624,7 @@ interface CSSStyleDeclaration {
6624
6624
  vectorEffect: string;
6625
6625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
6626
6626
  verticalAlign: string;
6627
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
6627
6628
  viewTransitionClass: string;
6628
6629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
6629
6630
  viewTransitionName: string;
@@ -8282,6 +8283,38 @@ declare var CookieStore: {
8282
8283
  new(): CookieStore;
8283
8284
  };
8284
8285
 
8286
+ /**
8287
+ * The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
8288
+ * Available only in secure contexts.
8289
+ *
8290
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
8291
+ */
8292
+ interface CookieStoreManager {
8293
+ /**
8294
+ * The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
8295
+ *
8296
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
8297
+ */
8298
+ getSubscriptions(): Promise<CookieStoreGetOptions[]>;
8299
+ /**
8300
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
8301
+ *
8302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
8303
+ */
8304
+ subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8305
+ /**
8306
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
8307
+ *
8308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
8309
+ */
8310
+ unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8311
+ }
8312
+
8313
+ declare var CookieStoreManager: {
8314
+ prototype: CookieStoreManager;
8315
+ new(): CookieStoreManager;
8316
+ };
8317
+
8285
8318
  /**
8286
8319
  * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
8287
8320
  *
@@ -10694,7 +10727,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
10694
10727
  */
10695
10728
  id: string;
10696
10729
  /**
10697
- * The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
10730
+ * The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
10698
10731
  *
10699
10732
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
10700
10733
  */
@@ -12637,6 +12670,7 @@ interface GlobalEventHandlersEventMap {
12637
12670
  "pointermove": PointerEvent;
12638
12671
  "pointerout": PointerEvent;
12639
12672
  "pointerover": PointerEvent;
12673
+ "pointerrawupdate": Event;
12640
12674
  "pointerup": PointerEvent;
12641
12675
  "progress": ProgressEvent;
12642
12676
  "ratechange": Event;
@@ -12808,6 +12842,12 @@ interface GlobalEventHandlers {
12808
12842
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12809
12843
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
12810
12844
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12845
+ /**
12846
+ * Available only in secure contexts.
12847
+ *
12848
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
12849
+ */
12850
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
12811
12851
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
12812
12852
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12813
12853
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -17396,14 +17436,14 @@ interface HTMLTextAreaElement extends HTMLElement {
17396
17436
  */
17397
17437
  setCustomValidity(error: string): void;
17398
17438
  /**
17399
- * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
17439
+ * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
17400
17440
  *
17401
17441
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
17402
17442
  */
17403
17443
  setRangeText(replacement: string): void;
17404
17444
  setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
17405
17445
  /**
17406
- * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in an textarea element.
17446
+ * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.
17407
17447
  *
17408
17448
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
17409
17449
  */
@@ -24099,7 +24139,7 @@ declare var ProcessingInstruction: {
24099
24139
  };
24100
24140
 
24101
24141
  /**
24102
- * The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24142
+ * The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24103
24143
  *
24104
24144
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
24105
24145
  */
@@ -24111,14 +24151,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
24111
24151
  */
24112
24152
  readonly lengthComputable: boolean;
24113
24153
  /**
24114
- * The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
24154
+ * The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
24115
24155
  *
24116
24156
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
24117
24157
  */
24118
24158
  readonly loaded: number;
24119
24159
  readonly target: T | null;
24120
24160
  /**
24121
- * The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
24161
+ * The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
24122
24162
  *
24123
24163
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
24124
24164
  */
@@ -30572,6 +30612,12 @@ interface ServiceWorkerRegistration extends EventTarget {
30572
30612
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
30573
30613
  */
30574
30614
  readonly active: ServiceWorker | null;
30615
+ /**
30616
+ * The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
30617
+ *
30618
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
30619
+ */
30620
+ readonly cookies: CookieStoreManager;
30575
30621
  /**
30576
30622
  * The **`installing`** read-only property of the initially set to `null`.
30577
30623
  *
@@ -30674,7 +30720,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30674
30720
  */
30675
30721
  readonly host: Element;
30676
30722
  /**
30677
- * The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
30723
+ * The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
30678
30724
  *
30679
30725
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
30680
30726
  */
@@ -38896,6 +38942,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
38896
38942
  declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
38897
38943
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
38898
38944
  declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
38945
+ /**
38946
+ * Available only in secure contexts.
38947
+ *
38948
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
38949
+ */
38950
+ declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
38899
38951
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
38900
38952
  declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
38901
38953
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
package/iterable.d.ts CHANGED
@@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
81
81
  setLineDash(segments: Iterable<number>): void;
82
82
  }
83
83
 
84
+ interface CookieStoreManager {
85
+ /**
86
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87
+ *
88
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89
+ */
90
+ subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
91
+ /**
92
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93
+ *
94
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95
+ */
96
+ unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
97
+ }
98
+
84
99
  interface CustomStateSet extends Set<string> {
85
100
  }
86
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.238",
3
+ "version": "0.0.239",
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
@@ -5079,7 +5079,7 @@ declare var CSSMathClamp: {
5079
5079
  };
5080
5080
 
5081
5081
  /**
5082
- * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
5082
+ * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
5083
5083
  *
5084
5084
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
5085
5085
  */
@@ -6618,6 +6618,7 @@ interface CSSStyleDeclaration {
6618
6618
  vectorEffect: string;
6619
6619
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
6620
6620
  verticalAlign: string;
6621
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
6621
6622
  viewTransitionClass: string;
6622
6623
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
6623
6624
  viewTransitionName: string;
@@ -8275,6 +8276,38 @@ declare var CookieStore: {
8275
8276
  new(): CookieStore;
8276
8277
  };
8277
8278
 
8279
+ /**
8280
+ * The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
8281
+ * Available only in secure contexts.
8282
+ *
8283
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
8284
+ */
8285
+ interface CookieStoreManager {
8286
+ /**
8287
+ * The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
8288
+ *
8289
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
8290
+ */
8291
+ getSubscriptions(): Promise<CookieStoreGetOptions[]>;
8292
+ /**
8293
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
8294
+ *
8295
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
8296
+ */
8297
+ subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8298
+ /**
8299
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
8300
+ *
8301
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
8302
+ */
8303
+ unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8304
+ }
8305
+
8306
+ declare var CookieStoreManager: {
8307
+ prototype: CookieStoreManager;
8308
+ new(): CookieStoreManager;
8309
+ };
8310
+
8278
8311
  /**
8279
8312
  * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
8280
8313
  *
@@ -10686,7 +10719,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
10686
10719
  */
10687
10720
  id: string;
10688
10721
  /**
10689
- * The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
10722
+ * The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
10690
10723
  *
10691
10724
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
10692
10725
  */
@@ -12627,6 +12660,7 @@ interface GlobalEventHandlersEventMap {
12627
12660
  "pointermove": PointerEvent;
12628
12661
  "pointerout": PointerEvent;
12629
12662
  "pointerover": PointerEvent;
12663
+ "pointerrawupdate": Event;
12630
12664
  "pointerup": PointerEvent;
12631
12665
  "progress": ProgressEvent;
12632
12666
  "ratechange": Event;
@@ -12798,6 +12832,12 @@ interface GlobalEventHandlers {
12798
12832
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12799
12833
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
12800
12834
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12835
+ /**
12836
+ * Available only in secure contexts.
12837
+ *
12838
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
12839
+ */
12840
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
12801
12841
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
12802
12842
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12803
12843
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -17376,14 +17416,14 @@ interface HTMLTextAreaElement extends HTMLElement {
17376
17416
  */
17377
17417
  setCustomValidity(error: string): void;
17378
17418
  /**
17379
- * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
17419
+ * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
17380
17420
  *
17381
17421
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
17382
17422
  */
17383
17423
  setRangeText(replacement: string): void;
17384
17424
  setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
17385
17425
  /**
17386
- * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in an textarea element.
17426
+ * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.
17387
17427
  *
17388
17428
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
17389
17429
  */
@@ -24079,7 +24119,7 @@ declare var ProcessingInstruction: {
24079
24119
  };
24080
24120
 
24081
24121
  /**
24082
- * The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24122
+ * The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24083
24123
  *
24084
24124
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
24085
24125
  */
@@ -24091,14 +24131,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
24091
24131
  */
24092
24132
  readonly lengthComputable: boolean;
24093
24133
  /**
24094
- * The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
24134
+ * The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
24095
24135
  *
24096
24136
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
24097
24137
  */
24098
24138
  readonly loaded: number;
24099
24139
  readonly target: T | null;
24100
24140
  /**
24101
- * The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
24141
+ * The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
24102
24142
  *
24103
24143
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
24104
24144
  */
@@ -30551,6 +30591,12 @@ interface ServiceWorkerRegistration extends EventTarget {
30551
30591
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
30552
30592
  */
30553
30593
  readonly active: ServiceWorker | null;
30594
+ /**
30595
+ * The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
30596
+ *
30597
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
30598
+ */
30599
+ readonly cookies: CookieStoreManager;
30554
30600
  /**
30555
30601
  * The **`installing`** read-only property of the initially set to `null`.
30556
30602
  *
@@ -30653,7 +30699,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30653
30699
  */
30654
30700
  readonly host: Element;
30655
30701
  /**
30656
- * The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
30702
+ * The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
30657
30703
  *
30658
30704
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
30659
30705
  */
@@ -38874,6 +38920,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
38874
38920
  declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
38875
38921
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
38876
38922
  declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
38923
+ /**
38924
+ * Available only in secure contexts.
38925
+ *
38926
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
38927
+ */
38928
+ declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
38877
38929
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
38878
38930
  declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
38879
38931
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
81
81
  setLineDash(segments: Iterable<number>): void;
82
82
  }
83
83
 
84
+ interface CookieStoreManager {
85
+ /**
86
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87
+ *
88
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89
+ */
90
+ subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
91
+ /**
92
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93
+ *
94
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95
+ */
96
+ unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
97
+ }
98
+
84
99
  interface CustomStateSet extends Set<string> {
85
100
  }
86
101
 
package/ts5.6/index.d.ts CHANGED
@@ -5082,7 +5082,7 @@ declare var CSSMathClamp: {
5082
5082
  };
5083
5083
 
5084
5084
  /**
5085
- * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
5085
+ * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.
5086
5086
  *
5087
5087
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
5088
5088
  */
@@ -6624,6 +6624,7 @@ interface CSSStyleDeclaration {
6624
6624
  vectorEffect: string;
6625
6625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
6626
6626
  verticalAlign: string;
6627
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */
6627
6628
  viewTransitionClass: string;
6628
6629
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */
6629
6630
  viewTransitionName: string;
@@ -8282,6 +8283,38 @@ declare var CookieStore: {
8282
8283
  new(): CookieStore;
8283
8284
  };
8284
8285
 
8286
+ /**
8287
+ * The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.
8288
+ * Available only in secure contexts.
8289
+ *
8290
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)
8291
+ */
8292
+ interface CookieStoreManager {
8293
+ /**
8294
+ * The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.
8295
+ *
8296
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)
8297
+ */
8298
+ getSubscriptions(): Promise<CookieStoreGetOptions[]>;
8299
+ /**
8300
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
8301
+ *
8302
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
8303
+ */
8304
+ subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8305
+ /**
8306
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
8307
+ *
8308
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
8309
+ */
8310
+ unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
8311
+ }
8312
+
8313
+ declare var CookieStoreManager: {
8314
+ prototype: CookieStoreManager;
8315
+ new(): CookieStoreManager;
8316
+ };
8317
+
8285
8318
  /**
8286
8319
  * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
8287
8320
  *
@@ -10694,7 +10727,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
10694
10727
  */
10695
10728
  id: string;
10696
10729
  /**
10697
- * The Element property **`innerHTML`** gets or sets the HTML or XML markup contained within the element.
10730
+ * The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
10698
10731
  *
10699
10732
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
10700
10733
  */
@@ -12637,6 +12670,7 @@ interface GlobalEventHandlersEventMap {
12637
12670
  "pointermove": PointerEvent;
12638
12671
  "pointerout": PointerEvent;
12639
12672
  "pointerover": PointerEvent;
12673
+ "pointerrawupdate": Event;
12640
12674
  "pointerup": PointerEvent;
12641
12675
  "progress": ProgressEvent;
12642
12676
  "ratechange": Event;
@@ -12808,6 +12842,12 @@ interface GlobalEventHandlers {
12808
12842
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12809
12843
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
12810
12844
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12845
+ /**
12846
+ * Available only in secure contexts.
12847
+ *
12848
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
12849
+ */
12850
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
12811
12851
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
12812
12852
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
12813
12853
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -17396,14 +17436,14 @@ interface HTMLTextAreaElement extends HTMLElement {
17396
17436
  */
17397
17437
  setCustomValidity(error: string): void;
17398
17438
  /**
17399
- * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in an textarea element with new text passed as the argument.
17439
+ * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.
17400
17440
  *
17401
17441
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)
17402
17442
  */
17403
17443
  setRangeText(replacement: string): void;
17404
17444
  setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
17405
17445
  /**
17406
- * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in an textarea element.
17446
+ * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.
17407
17447
  *
17408
17448
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
17409
17449
  */
@@ -24099,7 +24139,7 @@ declare var ProcessingInstruction: {
24099
24139
  };
24100
24140
 
24101
24141
  /**
24102
- * The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24142
+ * The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
24103
24143
  *
24104
24144
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
24105
24145
  */
@@ -24111,14 +24151,14 @@ interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
24111
24151
  */
24112
24152
  readonly lengthComputable: boolean;
24113
24153
  /**
24114
- * The **`ProgressEvent.loaded`** read-only property is a 64-bit unsigned integer indicating the size, in bytes, of the data already transmitted or processed.
24154
+ * The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.
24115
24155
  *
24116
24156
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)
24117
24157
  */
24118
24158
  readonly loaded: number;
24119
24159
  readonly target: T | null;
24120
24160
  /**
24121
- * The **`ProgressEvent.total`** read-only property is a 64-bit unsigned integer indicating the total size, in bytes, of the data being transmitted or processed.
24161
+ * The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.
24122
24162
  *
24123
24163
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)
24124
24164
  */
@@ -30572,6 +30612,12 @@ interface ServiceWorkerRegistration extends EventTarget {
30572
30612
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
30573
30613
  */
30574
30614
  readonly active: ServiceWorker | null;
30615
+ /**
30616
+ * The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.
30617
+ *
30618
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)
30619
+ */
30620
+ readonly cookies: CookieStoreManager;
30575
30621
  /**
30576
30622
  * The **`installing`** read-only property of the initially set to `null`.
30577
30623
  *
@@ -30674,7 +30720,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
30674
30720
  */
30675
30721
  readonly host: Element;
30676
30722
  /**
30677
- * The **`innerHTML`** property of the ShadowRoot interface sets or returns a reference to the DOM tree inside the `ShadowRoot`.
30723
+ * The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.
30678
30724
  *
30679
30725
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)
30680
30726
  */
@@ -38896,6 +38942,12 @@ declare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;
38896
38942
  declare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;
38897
38943
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */
38898
38944
  declare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;
38945
+ /**
38946
+ * Available only in secure contexts.
38947
+ *
38948
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)
38949
+ */
38950
+ declare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;
38899
38951
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */
38900
38952
  declare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;
38901
38953
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */
@@ -81,6 +81,21 @@ interface CanvasPathDrawingStyles {
81
81
  setLineDash(segments: Iterable<number>): void;
82
82
  }
83
83
 
84
+ interface CookieStoreManager {
85
+ /**
86
+ * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
87
+ *
88
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
89
+ */
90
+ subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
91
+ /**
92
+ * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
93
+ *
94
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
95
+ */
96
+ unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
97
+ }
98
+
84
99
  interface CustomStateSet extends Set<string> {
85
100
  }
86
101