@types/web 0.0.269 → 0.0.271

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.269 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.269.
50
+ You can read what changed in version 0.0.271 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.271.
package/index.d.ts CHANGED
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
360
360
  wasClean?: boolean;
361
361
  }
362
362
 
363
+ interface CommandEventInit extends EventInit {
364
+ command?: string;
365
+ source?: Element | null;
366
+ }
367
+
363
368
  interface CompositionEventInit extends UIEventInit {
364
369
  data?: string;
365
370
  }
@@ -908,6 +913,7 @@ interface InputEventInit extends UIEventInit {
908
913
  interface IntersectionObserverInit {
909
914
  root?: Element | Document | null;
910
915
  rootMargin?: string;
916
+ scrollMargin?: string;
911
917
  threshold?: number | number[];
912
918
  }
913
919
 
@@ -3271,6 +3277,7 @@ interface AnimationTimeline {
3271
3277
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
3272
3278
  */
3273
3279
  readonly currentTime: CSSNumberish | null;
3280
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
3274
3281
  readonly duration: CSSNumberish | null;
3275
3282
  }
3276
3283
 
@@ -8397,6 +8404,31 @@ declare var CloseEvent: {
8397
8404
  new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
8398
8405
  };
8399
8406
 
8407
+ /**
8408
+ * The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
8409
+ *
8410
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8411
+ */
8412
+ interface CommandEvent extends Event {
8413
+ /**
8414
+ * The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
8415
+ *
8416
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8417
+ */
8418
+ readonly command: string;
8419
+ /**
8420
+ * The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8421
+ *
8422
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8423
+ */
8424
+ readonly source: Element | null;
8425
+ }
8426
+
8427
+ declare var CommandEvent: {
8428
+ prototype: CommandEvent;
8429
+ new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8430
+ };
8431
+
8400
8432
  /**
8401
8433
  * The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
8402
8434
  *
@@ -10464,6 +10496,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10464
10496
  createEvent(eventInterface: "BlobEvent"): BlobEvent;
10465
10497
  createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
10466
10498
  createEvent(eventInterface: "CloseEvent"): CloseEvent;
10499
+ createEvent(eventInterface: "CommandEvent"): CommandEvent;
10467
10500
  createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
10468
10501
  createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
10469
10502
  createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -13603,6 +13636,18 @@ declare var HTMLBodyElement: {
13603
13636
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13604
13637
  */
13605
13638
  interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13639
+ /**
13640
+ * The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
13641
+ *
13642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
13643
+ */
13644
+ command: string;
13645
+ /**
13646
+ * The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
13647
+ *
13648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
13649
+ */
13650
+ commandForElement: Element | null;
13606
13651
  /**
13607
13652
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13608
13653
  *
@@ -18390,6 +18435,7 @@ interface IDBDatabase extends EventTarget {
18390
18435
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
18391
18436
  */
18392
18437
  readonly objectStoreNames: DOMStringList;
18438
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
18393
18439
  onabort: ((this: IDBDatabase, ev: Event) => any) | null;
18394
18440
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
18395
18441
  onclose: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -23030,6 +23076,8 @@ interface ParentNode extends Node {
23030
23076
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
23031
23077
  */
23032
23078
  append(...nodes: (Node | string)[]): void;
23079
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
23080
+ moveBefore(node: Node, child: Node | null): void;
23033
23081
  /**
23034
23082
  * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
23035
23083
  *
@@ -23557,6 +23605,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
23557
23605
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
23558
23606
  */
23559
23607
  readonly cancelable: boolean;
23608
+ /**
23609
+ * The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
23610
+ *
23611
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
23612
+ */
23613
+ readonly interactionId: number;
23560
23614
  /**
23561
23615
  * The read-only **`processingEnd`** property returns the time the last event handler finished executing.
23562
23616
  *
@@ -30568,6 +30622,12 @@ interface ScreenOrientation extends EventTarget {
30568
30622
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
30569
30623
  */
30570
30624
  readonly type: OrientationType;
30625
+ /**
30626
+ * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
30627
+ *
30628
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
30629
+ */
30630
+ lock(orientation: OrientationLockType): Promise<void>;
30571
30631
  /**
30572
30632
  * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
30573
30633
  *
@@ -40018,6 +40078,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
40018
40078
  type NotificationPermission = "default" | "denied" | "granted";
40019
40079
  type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
40020
40080
  type OpusBitstreamFormat = "ogg" | "opus";
40081
+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
40021
40082
  type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
40022
40083
  type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
40023
40084
  type OverSampleType = "2x" | "4x" | "none";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.269",
3
+ "version": "0.0.271",
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
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
360
360
  wasClean?: boolean;
361
361
  }
362
362
 
363
+ interface CommandEventInit extends EventInit {
364
+ command?: string;
365
+ source?: Element | null;
366
+ }
367
+
363
368
  interface CompositionEventInit extends UIEventInit {
364
369
  data?: string;
365
370
  }
@@ -908,6 +913,7 @@ interface InputEventInit extends UIEventInit {
908
913
  interface IntersectionObserverInit {
909
914
  root?: Element | Document | null;
910
915
  rootMargin?: string;
916
+ scrollMargin?: string;
911
917
  threshold?: number | number[];
912
918
  }
913
919
 
@@ -3271,6 +3277,7 @@ interface AnimationTimeline {
3271
3277
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
3272
3278
  */
3273
3279
  readonly currentTime: CSSNumberish | null;
3280
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
3274
3281
  readonly duration: CSSNumberish | null;
3275
3282
  }
3276
3283
 
@@ -8389,6 +8396,31 @@ declare var CloseEvent: {
8389
8396
  new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
8390
8397
  };
8391
8398
 
8399
+ /**
8400
+ * The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
8401
+ *
8402
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8403
+ */
8404
+ interface CommandEvent extends Event {
8405
+ /**
8406
+ * The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
8407
+ *
8408
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8409
+ */
8410
+ readonly command: string;
8411
+ /**
8412
+ * The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8413
+ *
8414
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8415
+ */
8416
+ readonly source: Element | null;
8417
+ }
8418
+
8419
+ declare var CommandEvent: {
8420
+ prototype: CommandEvent;
8421
+ new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8422
+ };
8423
+
8392
8424
  /**
8393
8425
  * The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
8394
8426
  *
@@ -10456,6 +10488,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10456
10488
  createEvent(eventInterface: "BlobEvent"): BlobEvent;
10457
10489
  createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
10458
10490
  createEvent(eventInterface: "CloseEvent"): CloseEvent;
10491
+ createEvent(eventInterface: "CommandEvent"): CommandEvent;
10459
10492
  createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
10460
10493
  createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
10461
10494
  createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -13590,6 +13623,18 @@ declare var HTMLBodyElement: {
13590
13623
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13591
13624
  */
13592
13625
  interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13626
+ /**
13627
+ * The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
13628
+ *
13629
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
13630
+ */
13631
+ command: string;
13632
+ /**
13633
+ * The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
13634
+ *
13635
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
13636
+ */
13637
+ commandForElement: Element | null;
13593
13638
  /**
13594
13639
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13595
13640
  *
@@ -18369,6 +18414,7 @@ interface IDBDatabase extends EventTarget {
18369
18414
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
18370
18415
  */
18371
18416
  readonly objectStoreNames: DOMStringList;
18417
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
18372
18418
  onabort: ((this: IDBDatabase, ev: Event) => any) | null;
18373
18419
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
18374
18420
  onclose: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -23009,6 +23055,8 @@ interface ParentNode extends Node {
23009
23055
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
23010
23056
  */
23011
23057
  append(...nodes: (Node | string)[]): void;
23058
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
23059
+ moveBefore(node: Node, child: Node | null): void;
23012
23060
  /**
23013
23061
  * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
23014
23062
  *
@@ -23536,6 +23584,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
23536
23584
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
23537
23585
  */
23538
23586
  readonly cancelable: boolean;
23587
+ /**
23588
+ * The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
23589
+ *
23590
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
23591
+ */
23592
+ readonly interactionId: number;
23539
23593
  /**
23540
23594
  * The read-only **`processingEnd`** property returns the time the last event handler finished executing.
23541
23595
  *
@@ -30546,6 +30600,12 @@ interface ScreenOrientation extends EventTarget {
30546
30600
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
30547
30601
  */
30548
30602
  readonly type: OrientationType;
30603
+ /**
30604
+ * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
30605
+ *
30606
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
30607
+ */
30608
+ lock(orientation: OrientationLockType): Promise<void>;
30549
30609
  /**
30550
30610
  * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
30551
30611
  *
@@ -39995,6 +40055,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
39995
40055
  type NotificationPermission = "default" | "denied" | "granted";
39996
40056
  type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
39997
40057
  type OpusBitstreamFormat = "ogg" | "opus";
40058
+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
39998
40059
  type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
39999
40060
  type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
40000
40061
  type OverSampleType = "2x" | "4x" | "none";
package/ts5.6/index.d.ts CHANGED
@@ -360,6 +360,11 @@ interface CloseEventInit extends EventInit {
360
360
  wasClean?: boolean;
361
361
  }
362
362
 
363
+ interface CommandEventInit extends EventInit {
364
+ command?: string;
365
+ source?: Element | null;
366
+ }
367
+
363
368
  interface CompositionEventInit extends UIEventInit {
364
369
  data?: string;
365
370
  }
@@ -908,6 +913,7 @@ interface InputEventInit extends UIEventInit {
908
913
  interface IntersectionObserverInit {
909
914
  root?: Element | Document | null;
910
915
  rootMargin?: string;
916
+ scrollMargin?: string;
911
917
  threshold?: number | number[];
912
918
  }
913
919
 
@@ -3271,6 +3277,7 @@ interface AnimationTimeline {
3271
3277
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)
3272
3278
  */
3273
3279
  readonly currentTime: CSSNumberish | null;
3280
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/duration) */
3274
3281
  readonly duration: CSSNumberish | null;
3275
3282
  }
3276
3283
 
@@ -8397,6 +8404,31 @@ declare var CloseEvent: {
8397
8404
  new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
8398
8405
  };
8399
8406
 
8407
+ /**
8408
+ * The **`CommandEvent`** interface represents an event notifying the user when a HTMLButtonElement element with valid HTMLButtonElement.commandForElement and HTMLButtonElement.command attributes is about to invoke an interactive element.
8409
+ *
8410
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent)
8411
+ */
8412
+ interface CommandEvent extends Event {
8413
+ /**
8414
+ * The **`command`** read-only property of the CommandEvent interface returns a string containing the value of the HTMLButtonElement.command property at the time the event was dispatched.
8415
+ *
8416
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/command)
8417
+ */
8418
+ readonly command: string;
8419
+ /**
8420
+ * The **`source`** read-only property of the CommandEvent interface returns an EventTarget representing the control that invoked the given command.
8421
+ *
8422
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CommandEvent/source)
8423
+ */
8424
+ readonly source: Element | null;
8425
+ }
8426
+
8427
+ declare var CommandEvent: {
8428
+ prototype: CommandEvent;
8429
+ new(type: string, eventInitDict?: CommandEventInit): CommandEvent;
8430
+ };
8431
+
8400
8432
  /**
8401
8433
  * The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
8402
8434
  *
@@ -10464,6 +10496,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
10464
10496
  createEvent(eventInterface: "BlobEvent"): BlobEvent;
10465
10497
  createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent;
10466
10498
  createEvent(eventInterface: "CloseEvent"): CloseEvent;
10499
+ createEvent(eventInterface: "CommandEvent"): CommandEvent;
10467
10500
  createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
10468
10501
  createEvent(eventInterface: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;
10469
10502
  createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;
@@ -13603,6 +13636,18 @@ declare var HTMLBodyElement: {
13603
13636
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
13604
13637
  */
13605
13638
  interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
13639
+ /**
13640
+ * The **`command`** property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.
13641
+ *
13642
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/command)
13643
+ */
13644
+ command: string;
13645
+ /**
13646
+ * The **`commandForElement`** property of the HTMLButtonElement interface gets and sets the element to control via a button.
13647
+ *
13648
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/commandForElement)
13649
+ */
13650
+ commandForElement: Element | null;
13606
13651
  /**
13607
13652
  * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
13608
13653
  *
@@ -18390,6 +18435,7 @@ interface IDBDatabase extends EventTarget {
18390
18435
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
18391
18436
  */
18392
18437
  readonly objectStoreNames: DOMStringList;
18438
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
18393
18439
  onabort: ((this: IDBDatabase, ev: Event) => any) | null;
18394
18440
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
18395
18441
  onclose: ((this: IDBDatabase, ev: Event) => any) | null;
@@ -23030,6 +23076,8 @@ interface ParentNode extends Node {
23030
23076
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)
23031
23077
  */
23032
23078
  append(...nodes: (Node | string)[]): void;
23079
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/moveBefore) */
23080
+ moveBefore(node: Node, child: Node | null): void;
23033
23081
  /**
23034
23082
  * Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
23035
23083
  *
@@ -23557,6 +23605,12 @@ interface PerformanceEventTiming extends PerformanceEntry {
23557
23605
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)
23558
23606
  */
23559
23607
  readonly cancelable: boolean;
23608
+ /**
23609
+ * The read-only **`interactionId`** property returns an ID that uniquely identifies a user interaction which triggered a series of associated events.
23610
+ *
23611
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/interactionId)
23612
+ */
23613
+ readonly interactionId: number;
23560
23614
  /**
23561
23615
  * The read-only **`processingEnd`** property returns the time the last event handler finished executing.
23562
23616
  *
@@ -30568,6 +30622,12 @@ interface ScreenOrientation extends EventTarget {
30568
30622
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)
30569
30623
  */
30570
30624
  readonly type: OrientationType;
30625
+ /**
30626
+ * The **`lock()`** method of the ScreenOrientation interface locks the orientation of the containing document to the specified orientation.
30627
+ *
30628
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock)
30629
+ */
30630
+ lock(orientation: OrientationLockType): Promise<void>;
30571
30631
  /**
30572
30632
  * The **`unlock()`** method of the ScreenOrientation interface unlocks the orientation of the containing document from its default orientation.
30573
30633
  *
@@ -40018,6 +40078,7 @@ type NotificationDirection = "auto" | "ltr" | "rtl";
40018
40078
  type NotificationPermission = "default" | "denied" | "granted";
40019
40079
  type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
40020
40080
  type OpusBitstreamFormat = "ogg" | "opus";
40081
+ type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
40021
40082
  type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
40022
40083
  type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
40023
40084
  type OverSampleType = "2x" | "4x" | "none";