@types/web 0.0.347 → 0.0.349
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 +3 -1
- package/index.d.ts +341 -25
- package/package.json +1 -1
- package/ts5.5/index.d.ts +341 -25
- package/ts5.6/index.d.ts +341 -25
- package/ts5.9/index.d.ts +341 -25
package/ts5.6/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ interface AnalyserOptions extends AudioNodeOptions {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
interface AnimationEventInit extends EventInit {
|
|
76
|
+
animation?: CSSAnimation | null;
|
|
76
77
|
animationName?: string;
|
|
77
78
|
elapsedTime?: number;
|
|
78
79
|
pseudoElement?: string;
|
|
@@ -625,6 +626,17 @@ interface DisplayMediaStreamOptions {
|
|
|
625
626
|
video?: boolean | MediaTrackConstraints;
|
|
626
627
|
}
|
|
627
628
|
|
|
629
|
+
interface DocumentPictureInPictureEventInit extends EventInit {
|
|
630
|
+
window: Window;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
interface DocumentPictureInPictureOptions {
|
|
634
|
+
disallowReturnToOpener?: boolean;
|
|
635
|
+
height?: number;
|
|
636
|
+
preferInitialWindowPlacement?: boolean;
|
|
637
|
+
width?: number;
|
|
638
|
+
}
|
|
639
|
+
|
|
628
640
|
interface DocumentTimelineOptions {
|
|
629
641
|
originTime?: DOMHighResTimeStamp;
|
|
630
642
|
}
|
|
@@ -2639,8 +2651,10 @@ interface SanitizerConfig {
|
|
|
2639
2651
|
comments?: boolean;
|
|
2640
2652
|
dataAttributes?: boolean;
|
|
2641
2653
|
elements?: SanitizerElementWithAttributes[];
|
|
2654
|
+
processingInstructions?: SanitizerPI[];
|
|
2642
2655
|
removeAttributes?: SanitizerAttribute[];
|
|
2643
2656
|
removeElements?: SanitizerElement[];
|
|
2657
|
+
removeProcessingInstructions?: SanitizerPI[];
|
|
2644
2658
|
replaceWithChildrenElements?: SanitizerElement[];
|
|
2645
2659
|
}
|
|
2646
2660
|
|
|
@@ -2654,6 +2668,10 @@ interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamesp
|
|
|
2654
2668
|
removeAttributes?: SanitizerAttribute[];
|
|
2655
2669
|
}
|
|
2656
2670
|
|
|
2671
|
+
interface SanitizerProcessingInstruction {
|
|
2672
|
+
target: string;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2657
2675
|
interface SchedulerPostTaskOptions {
|
|
2658
2676
|
delay?: number;
|
|
2659
2677
|
priority?: TaskPriority;
|
|
@@ -2694,6 +2712,45 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
2694
2712
|
violatedDirective?: string;
|
|
2695
2713
|
}
|
|
2696
2714
|
|
|
2715
|
+
interface SerialInputSignals {
|
|
2716
|
+
clearToSend: boolean;
|
|
2717
|
+
dataCarrierDetect: boolean;
|
|
2718
|
+
dataSetReady: boolean;
|
|
2719
|
+
ringIndicator: boolean;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
interface SerialOptions {
|
|
2723
|
+
baudRate: number;
|
|
2724
|
+
bufferSize?: number;
|
|
2725
|
+
dataBits?: number;
|
|
2726
|
+
flowControl?: FlowControlType;
|
|
2727
|
+
parity?: ParityType;
|
|
2728
|
+
stopBits?: number;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
interface SerialOutputSignals {
|
|
2732
|
+
break?: boolean;
|
|
2733
|
+
dataTerminalReady?: boolean;
|
|
2734
|
+
requestToSend?: boolean;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
interface SerialPortFilter {
|
|
2738
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2739
|
+
usbProductId?: number;
|
|
2740
|
+
usbVendorId?: number;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
interface SerialPortInfo {
|
|
2744
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2745
|
+
usbProductId?: number;
|
|
2746
|
+
usbVendorId?: number;
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
interface SerialPortRequestOptions {
|
|
2750
|
+
allowedBluetoothServiceClassIds?: BluetoothServiceUUID[];
|
|
2751
|
+
filters?: SerialPortFilter[];
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2697
2754
|
interface ShadowRootInit {
|
|
2698
2755
|
clonable?: boolean;
|
|
2699
2756
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -2879,6 +2936,7 @@ interface Transformer<I = any, O = any> {
|
|
|
2879
2936
|
}
|
|
2880
2937
|
|
|
2881
2938
|
interface TransitionEventInit extends EventInit {
|
|
2939
|
+
animation?: CSSTransition | null;
|
|
2882
2940
|
elapsedTime?: number;
|
|
2883
2941
|
propertyName?: string;
|
|
2884
2942
|
pseudoElement?: string;
|
|
@@ -5705,9 +5763,29 @@ declare var CSSLayerStatementRule: {
|
|
|
5705
5763
|
new(): CSSLayerStatementRule;
|
|
5706
5764
|
};
|
|
5707
5765
|
|
|
5766
|
+
/**
|
|
5767
|
+
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
|
|
5768
|
+
*
|
|
5769
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
|
|
5770
|
+
*/
|
|
5708
5771
|
interface CSSMathClamp extends CSSMathValue {
|
|
5772
|
+
/**
|
|
5773
|
+
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
|
|
5774
|
+
*
|
|
5775
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
|
|
5776
|
+
*/
|
|
5709
5777
|
readonly lower: CSSNumericValue;
|
|
5778
|
+
/**
|
|
5779
|
+
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
|
|
5780
|
+
*
|
|
5781
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
|
|
5782
|
+
*/
|
|
5710
5783
|
readonly upper: CSSNumericValue;
|
|
5784
|
+
/**
|
|
5785
|
+
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
|
|
5786
|
+
*
|
|
5787
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
|
|
5788
|
+
*/
|
|
5711
5789
|
readonly value: CSSNumericValue;
|
|
5712
5790
|
}
|
|
5713
5791
|
|
|
@@ -9299,7 +9377,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
9299
9377
|
*/
|
|
9300
9378
|
vectorEffect: string;
|
|
9301
9379
|
/**
|
|
9302
|
-
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
|
|
9380
|
+
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
|
|
9303
9381
|
*
|
|
9304
9382
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
|
|
9305
9383
|
*/
|
|
@@ -10104,13 +10182,13 @@ declare var CSSTranslate: {
|
|
|
10104
10182
|
};
|
|
10105
10183
|
|
|
10106
10184
|
/**
|
|
10107
|
-
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10185
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10108
10186
|
*
|
|
10109
10187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
10110
10188
|
*/
|
|
10111
10189
|
interface CSSUnitValue extends CSSNumericValue {
|
|
10112
10190
|
/**
|
|
10113
|
-
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type
|
|
10191
|
+
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
|
|
10114
10192
|
*
|
|
10115
10193
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
|
|
10116
10194
|
*/
|
|
@@ -10494,7 +10572,7 @@ interface CanvasRect {
|
|
|
10494
10572
|
*/
|
|
10495
10573
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
10496
10574
|
/**
|
|
10497
|
-
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10575
|
+
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10498
10576
|
*
|
|
10499
10577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
10500
10578
|
*/
|
|
@@ -10553,6 +10631,8 @@ interface CanvasTextDrawingStyles {
|
|
|
10553
10631
|
fontStretch: CanvasFontStretch;
|
|
10554
10632
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
10555
10633
|
fontVariantCaps: CanvasFontVariantCaps;
|
|
10634
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
|
|
10635
|
+
lang: string;
|
|
10556
10636
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
10557
10637
|
letterSpacing: string;
|
|
10558
10638
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
@@ -11215,6 +11295,12 @@ interface Credential {
|
|
|
11215
11295
|
declare var Credential: {
|
|
11216
11296
|
prototype: Credential;
|
|
11217
11297
|
new(): Credential;
|
|
11298
|
+
/**
|
|
11299
|
+
* The **`isConditionalMediationAvailable()`** static method of the Credential interface returns a Promise which resolves to false.
|
|
11300
|
+
*
|
|
11301
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/isConditionalMediationAvailable_static)
|
|
11302
|
+
*/
|
|
11303
|
+
isConditionalMediationAvailable(): Promise<boolean>;
|
|
11218
11304
|
};
|
|
11219
11305
|
|
|
11220
11306
|
/**
|
|
@@ -11504,7 +11590,7 @@ declare var DOMException: {
|
|
|
11504
11590
|
*/
|
|
11505
11591
|
interface DOMImplementation {
|
|
11506
11592
|
/**
|
|
11507
|
-
* The **`
|
|
11593
|
+
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
|
|
11508
11594
|
*
|
|
11509
11595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
|
|
11510
11596
|
*/
|
|
@@ -13000,13 +13086,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13000
13086
|
*/
|
|
13001
13087
|
close(): void;
|
|
13002
13088
|
/**
|
|
13003
|
-
* The **`
|
|
13089
|
+
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
|
|
13004
13090
|
*
|
|
13005
13091
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
|
|
13006
13092
|
*/
|
|
13007
13093
|
createAttribute(localName: string): Attr;
|
|
13008
13094
|
/**
|
|
13009
|
-
* The **`
|
|
13095
|
+
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
|
|
13010
13096
|
*
|
|
13011
13097
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
|
|
13012
13098
|
*/
|
|
@@ -13030,7 +13116,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13030
13116
|
*/
|
|
13031
13117
|
createDocumentFragment(): DocumentFragment;
|
|
13032
13118
|
/**
|
|
13033
|
-
*
|
|
13119
|
+
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
|
|
13034
13120
|
*
|
|
13035
13121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
|
|
13036
13122
|
*/
|
|
@@ -13039,7 +13125,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13039
13125
|
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
13040
13126
|
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
13041
13127
|
/**
|
|
13042
|
-
*
|
|
13128
|
+
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
|
|
13043
13129
|
*
|
|
13044
13130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
|
|
13045
13131
|
*/
|
|
@@ -13070,6 +13156,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13070
13156
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
13071
13157
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
13072
13158
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
13159
|
+
createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent;
|
|
13073
13160
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
13074
13161
|
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
|
|
13075
13162
|
createEvent(eventInterface: "Event"): Event;
|
|
@@ -13373,6 +13460,62 @@ interface DocumentOrShadowRoot {
|
|
|
13373
13460
|
getAnimations(): Animation[];
|
|
13374
13461
|
}
|
|
13375
13462
|
|
|
13463
|
+
interface DocumentPictureInPictureEventMap {
|
|
13464
|
+
"enter": DocumentPictureInPictureEvent;
|
|
13465
|
+
}
|
|
13466
|
+
|
|
13467
|
+
/**
|
|
13468
|
+
* The **`DocumentPictureInPicture`** interface of the Document Picture-in-Picture API is the entry point for creating and handling document picture-in-picture windows.
|
|
13469
|
+
* Available only in secure contexts.
|
|
13470
|
+
*
|
|
13471
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture)
|
|
13472
|
+
*/
|
|
13473
|
+
interface DocumentPictureInPicture extends EventTarget {
|
|
13474
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/enter_event) */
|
|
13475
|
+
onenter: ((this: DocumentPictureInPicture, ev: DocumentPictureInPictureEvent) => any) | null;
|
|
13476
|
+
/**
|
|
13477
|
+
* The **`window`** read-only property of the DocumentPictureInPicture interface returns a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13478
|
+
*
|
|
13479
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/window)
|
|
13480
|
+
*/
|
|
13481
|
+
readonly window: Window;
|
|
13482
|
+
/**
|
|
13483
|
+
* The **`requestWindow()`** method of the DocumentPictureInPicture interface opens the Picture-in-Picture window for the current main browsing context. It returns a Promise that fulfills with a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13484
|
+
*
|
|
13485
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/requestWindow)
|
|
13486
|
+
*/
|
|
13487
|
+
requestWindow(options?: DocumentPictureInPictureOptions): Promise<Window>;
|
|
13488
|
+
addEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13489
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13490
|
+
removeEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13491
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13492
|
+
}
|
|
13493
|
+
|
|
13494
|
+
declare var DocumentPictureInPicture: {
|
|
13495
|
+
prototype: DocumentPictureInPicture;
|
|
13496
|
+
new(): DocumentPictureInPicture;
|
|
13497
|
+
};
|
|
13498
|
+
|
|
13499
|
+
/**
|
|
13500
|
+
* The **`DocumentPictureInPictureEvent`** interface of the Document Picture-in-Picture API is the event object for the enter event, which fires when the Picture-in-Picture window is opened.
|
|
13501
|
+
* Available only in secure contexts.
|
|
13502
|
+
*
|
|
13503
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent)
|
|
13504
|
+
*/
|
|
13505
|
+
interface DocumentPictureInPictureEvent extends Event {
|
|
13506
|
+
/**
|
|
13507
|
+
* The **`window`** read-only property of the DocumentPictureInPictureEvent interface returns a Window instance representing the browsing context inside the DocumentPictureInPicture window the event was fired on.
|
|
13508
|
+
*
|
|
13509
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent/window)
|
|
13510
|
+
*/
|
|
13511
|
+
readonly window: Window;
|
|
13512
|
+
}
|
|
13513
|
+
|
|
13514
|
+
declare var DocumentPictureInPictureEvent: {
|
|
13515
|
+
prototype: DocumentPictureInPictureEvent;
|
|
13516
|
+
new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent;
|
|
13517
|
+
};
|
|
13518
|
+
|
|
13376
13519
|
/**
|
|
13377
13520
|
* The **`DocumentTimeline`** interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
|
|
13378
13521
|
*
|
|
@@ -14012,7 +14155,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14012
14155
|
*/
|
|
14013
14156
|
setPointerCapture(pointerId: number): void;
|
|
14014
14157
|
/**
|
|
14015
|
-
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute
|
|
14158
|
+
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute on the given element, removing it if present and adding it if not present.
|
|
14016
14159
|
*
|
|
14017
14160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
14018
14161
|
*/
|
|
@@ -14314,7 +14457,7 @@ interface Event {
|
|
|
14314
14457
|
*/
|
|
14315
14458
|
readonly eventPhase: number;
|
|
14316
14459
|
/**
|
|
14317
|
-
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The
|
|
14460
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
|
|
14318
14461
|
*
|
|
14319
14462
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
14320
14463
|
*/
|
|
@@ -16291,8 +16434,12 @@ interface GPUSupportedLimits {
|
|
|
16291
16434
|
readonly maxSamplersPerShaderStage: number;
|
|
16292
16435
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16293
16436
|
readonly maxStorageBufferBindingSize: number;
|
|
16437
|
+
readonly maxStorageBuffersInFragmentStage: number;
|
|
16438
|
+
readonly maxStorageBuffersInVertexStage: number;
|
|
16294
16439
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16295
16440
|
readonly maxStorageBuffersPerShaderStage: number;
|
|
16441
|
+
readonly maxStorageTexturesInFragmentStage: number;
|
|
16442
|
+
readonly maxStorageTexturesInVertexStage: number;
|
|
16296
16443
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16297
16444
|
readonly maxStorageTexturesPerShaderStage: number;
|
|
16298
16445
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
@@ -18529,7 +18676,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
18529
18676
|
*/
|
|
18530
18677
|
height: string;
|
|
18531
18678
|
/**
|
|
18532
|
-
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the
|
|
18679
|
+
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the browser indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
|
|
18533
18680
|
*
|
|
18534
18681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
|
|
18535
18682
|
*/
|
|
@@ -18672,7 +18819,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18672
18819
|
*/
|
|
18673
18820
|
isMap: boolean;
|
|
18674
18821
|
/**
|
|
18675
|
-
* The **`loading`** property of the HTMLImageElement interface provides a hint to the
|
|
18822
|
+
* The **`loading`** property of the HTMLImageElement interface provides a hint to the browser on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
|
|
18676
18823
|
*
|
|
18677
18824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
18678
18825
|
*/
|
|
@@ -18712,7 +18859,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18712
18859
|
*/
|
|
18713
18860
|
referrerPolicy: string;
|
|
18714
18861
|
/**
|
|
18715
|
-
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries
|
|
18862
|
+
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries, or auto for lazy-loaded images to allow the browser to automatically select an image to display based on the layout size of the element. This allows the browser to choose between different images specified in the element srcset to match different media conditions — even images with different orientations or aspect ratios.
|
|
18716
18863
|
*
|
|
18717
18864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
18718
18865
|
*/
|
|
@@ -21920,7 +22067,7 @@ declare var Headers: {
|
|
|
21920
22067
|
};
|
|
21921
22068
|
|
|
21922
22069
|
/**
|
|
21923
|
-
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of
|
|
22070
|
+
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of AbstractRange instances to be styled using the API.
|
|
21924
22071
|
*
|
|
21925
22072
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight)
|
|
21926
22073
|
*/
|
|
@@ -25881,7 +26028,7 @@ declare var NavigationPreloadManager: {
|
|
|
25881
26028
|
};
|
|
25882
26029
|
|
|
25883
26030
|
/**
|
|
25884
|
-
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation
|
|
26031
|
+
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation — a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
|
|
25885
26032
|
*
|
|
25886
26033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
|
|
25887
26034
|
*/
|
|
@@ -25978,6 +26125,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
25978
26125
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
25979
26126
|
*/
|
|
25980
26127
|
readonly permissions: Permissions;
|
|
26128
|
+
/**
|
|
26129
|
+
* The **`serial`** read-only property of the Navigator interface returns a Serial object which represents the entry point into the Web Serial API.
|
|
26130
|
+
*
|
|
26131
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serial)
|
|
26132
|
+
*/
|
|
26133
|
+
readonly serial: Serial;
|
|
25981
26134
|
/**
|
|
25982
26135
|
* The **`serviceWorker`** read-only property of the Navigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.
|
|
25983
26136
|
* Available only in secure contexts.
|
|
@@ -26909,7 +27062,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
26909
27062
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
26910
27063
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
26911
27064
|
/**
|
|
26912
|
-
* The **`
|
|
27065
|
+
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
|
|
26913
27066
|
*
|
|
26914
27067
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
|
|
26915
27068
|
*/
|
|
@@ -26940,6 +27093,18 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
26940
27093
|
new(): OffscreenCanvasRenderingContext2D;
|
|
26941
27094
|
};
|
|
26942
27095
|
|
|
27096
|
+
interface Origin {
|
|
27097
|
+
readonly opaque: boolean;
|
|
27098
|
+
isSameOrigin(other: Origin): boolean;
|
|
27099
|
+
isSameSite(other: Origin): boolean;
|
|
27100
|
+
}
|
|
27101
|
+
|
|
27102
|
+
declare var Origin: {
|
|
27103
|
+
prototype: Origin;
|
|
27104
|
+
new(): Origin;
|
|
27105
|
+
from(value: any): Origin;
|
|
27106
|
+
};
|
|
27107
|
+
|
|
26943
27108
|
/**
|
|
26944
27109
|
* The **`OscillatorNode`** interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
|
|
26945
27110
|
*
|
|
@@ -27064,7 +27229,9 @@ declare var PageTransitionEvent: {
|
|
|
27064
27229
|
};
|
|
27065
27230
|
|
|
27066
27231
|
interface PaintTimingMixin {
|
|
27232
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/paintTime) */
|
|
27067
27233
|
readonly paintTime: DOMHighResTimeStamp;
|
|
27234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/presentationTime) */
|
|
27068
27235
|
readonly presentationTime: DOMHighResTimeStamp | null;
|
|
27069
27236
|
}
|
|
27070
27237
|
|
|
@@ -28046,6 +28213,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
28046
28213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
|
|
28047
28214
|
*/
|
|
28048
28215
|
readonly connectStart: DOMHighResTimeStamp;
|
|
28216
|
+
/**
|
|
28217
|
+
* The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
|
|
28218
|
+
*
|
|
28219
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
|
|
28220
|
+
*/
|
|
28221
|
+
readonly contentType: string;
|
|
28049
28222
|
/**
|
|
28050
28223
|
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
|
|
28051
28224
|
*
|
|
@@ -29309,7 +29482,7 @@ interface RTCEncodedVideoFrame {
|
|
|
29309
29482
|
*/
|
|
29310
29483
|
readonly timestamp: number;
|
|
29311
29484
|
/**
|
|
29312
|
-
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame
|
|
29485
|
+
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame or a delta frame.
|
|
29313
29486
|
*
|
|
29314
29487
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
29315
29488
|
*/
|
|
@@ -30487,7 +30660,7 @@ interface ReadableStreamBYOBRequest {
|
|
|
30487
30660
|
*
|
|
30488
30661
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
|
|
30489
30662
|
*/
|
|
30490
|
-
readonly view:
|
|
30663
|
+
readonly view: Uint8Array | null;
|
|
30491
30664
|
/**
|
|
30492
30665
|
* The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
|
|
30493
30666
|
*
|
|
@@ -34732,7 +34905,11 @@ declare var SVGViewElement: {
|
|
|
34732
34905
|
new(): SVGViewElement;
|
|
34733
34906
|
};
|
|
34734
34907
|
|
|
34735
|
-
/**
|
|
34908
|
+
/**
|
|
34909
|
+
* The **`Sanitizer`** interface of the HTML Sanitizer API defines a configuration object that specifies what elements, attributes and comments are allowed or should be removed when inserting strings of HTML into an Element or ShadowRoot, or when parsing an HTML string into a Document.
|
|
34910
|
+
*
|
|
34911
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Sanitizer)
|
|
34912
|
+
*/
|
|
34736
34913
|
interface Sanitizer {
|
|
34737
34914
|
/**
|
|
34738
34915
|
* The **`allowAttribute()`** method of the Sanitizer interface sets an attribute to be allowed on all elements when the sanitizer is used.
|
|
@@ -34996,7 +35173,7 @@ interface SecurityPolicyViolationEvent extends Event {
|
|
|
34996
35173
|
*/
|
|
34997
35174
|
readonly blockedURI: string;
|
|
34998
35175
|
/**
|
|
34999
|
-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the
|
|
35176
|
+
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
|
|
35000
35177
|
*
|
|
35001
35178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
|
|
35002
35179
|
*/
|
|
@@ -35226,6 +35403,113 @@ declare var Selection: {
|
|
|
35226
35403
|
new(): Selection;
|
|
35227
35404
|
};
|
|
35228
35405
|
|
|
35406
|
+
/**
|
|
35407
|
+
* The **`Serial`** interface of the Web Serial API provides attributes and methods for finding and connecting to serial ports from a web page.
|
|
35408
|
+
* Available only in secure contexts.
|
|
35409
|
+
*
|
|
35410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial)
|
|
35411
|
+
*/
|
|
35412
|
+
interface Serial extends EventTarget {
|
|
35413
|
+
/**
|
|
35414
|
+
* The **`getPorts()`** method of the Serial interface returns a Promise that resolves with an array of SerialPort objects representing serial ports connected to the host which the origin has permission to access.
|
|
35415
|
+
*
|
|
35416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/getPorts)
|
|
35417
|
+
*/
|
|
35418
|
+
getPorts(): Promise<SerialPort[]>;
|
|
35419
|
+
/**
|
|
35420
|
+
* The **`Serial.requestPort()`** method of the Serial interface presents the user with a dialog asking them to select a serial device to connect to. It returns a Promise that resolves with an instance of SerialPort representing the device chosen by the user.
|
|
35421
|
+
*
|
|
35422
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/requestPort)
|
|
35423
|
+
*/
|
|
35424
|
+
requestPort(options?: SerialPortRequestOptions): Promise<SerialPort>;
|
|
35425
|
+
}
|
|
35426
|
+
|
|
35427
|
+
declare var Serial: {
|
|
35428
|
+
prototype: Serial;
|
|
35429
|
+
new(): Serial;
|
|
35430
|
+
};
|
|
35431
|
+
|
|
35432
|
+
interface SerialPortEventMap {
|
|
35433
|
+
"connect": Event;
|
|
35434
|
+
"disconnect": Event;
|
|
35435
|
+
}
|
|
35436
|
+
|
|
35437
|
+
/**
|
|
35438
|
+
* The **`SerialPort`** interface of the Web Serial API provides access to a serial port on the host device.
|
|
35439
|
+
* Available only in secure contexts.
|
|
35440
|
+
*
|
|
35441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort)
|
|
35442
|
+
*/
|
|
35443
|
+
interface SerialPort extends EventTarget {
|
|
35444
|
+
/**
|
|
35445
|
+
* The **`connected`** read-only property of the SerialPort interface returns a boolean value that indicates whether the port is logically connected to the device.
|
|
35446
|
+
*
|
|
35447
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connected)
|
|
35448
|
+
*/
|
|
35449
|
+
readonly connected: boolean;
|
|
35450
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connect_event) */
|
|
35451
|
+
onconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35452
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/disconnect_event) */
|
|
35453
|
+
ondisconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35454
|
+
/**
|
|
35455
|
+
* The **`readable`** read-only property of the SerialPort interface returns a ReadableStream for receiving data from the device connected to the port. Chunks read from this stream are instances of Uint8Array. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35456
|
+
*
|
|
35457
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/readable)
|
|
35458
|
+
*/
|
|
35459
|
+
readonly readable: ReadableStream | null;
|
|
35460
|
+
/**
|
|
35461
|
+
* The **`writable`** read-only property of the SerialPort interface returns a WritableStream for sending data to the device connected to the port. Chunks written to this stream must be instances of ArrayBuffer, TypedArray, or DataView. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35462
|
+
*
|
|
35463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/writable)
|
|
35464
|
+
*/
|
|
35465
|
+
readonly writable: WritableStream | null;
|
|
35466
|
+
/**
|
|
35467
|
+
* The **`SerialPort.close()`** method of the SerialPort interface returns a Promise that resolves when the port closes.
|
|
35468
|
+
*
|
|
35469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/close)
|
|
35470
|
+
*/
|
|
35471
|
+
close(): Promise<void>;
|
|
35472
|
+
/**
|
|
35473
|
+
* The **`SerialPort.forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked.
|
|
35474
|
+
*
|
|
35475
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/forget)
|
|
35476
|
+
*/
|
|
35477
|
+
forget(): Promise<void>;
|
|
35478
|
+
/**
|
|
35479
|
+
* The **`getInfo()`** method of the SerialPort interface returns an object containing identifying information for the device available via the port.
|
|
35480
|
+
*
|
|
35481
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getInfo)
|
|
35482
|
+
*/
|
|
35483
|
+
getInfo(): SerialPortInfo;
|
|
35484
|
+
/**
|
|
35485
|
+
* The **`SerialPort.getSignals()`** method of the SerialPort interface returns a Promise that resolves with an object containing the current state of the port's control signals.
|
|
35486
|
+
*
|
|
35487
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getSignals)
|
|
35488
|
+
*/
|
|
35489
|
+
getSignals(): Promise<SerialInputSignals>;
|
|
35490
|
+
/**
|
|
35491
|
+
* The **`open()`** method of the SerialPort interface returns a Promise that resolves when the port is opened. By default the port is opened with 8 data bits, 1 stop bit and no parity checking. The baudRate parameter is required.
|
|
35492
|
+
*
|
|
35493
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/open)
|
|
35494
|
+
*/
|
|
35495
|
+
open(options: SerialOptions): Promise<void>;
|
|
35496
|
+
/**
|
|
35497
|
+
* The **`setSignals()`** method of the SerialPort interface sets control signals on the port and returns a Promise that resolves when they are set.
|
|
35498
|
+
*
|
|
35499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/setSignals)
|
|
35500
|
+
*/
|
|
35501
|
+
setSignals(signals?: SerialOutputSignals): Promise<void>;
|
|
35502
|
+
addEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35503
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35504
|
+
removeEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
35505
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
35506
|
+
}
|
|
35507
|
+
|
|
35508
|
+
declare var SerialPort: {
|
|
35509
|
+
prototype: SerialPort;
|
|
35510
|
+
new(): SerialPort;
|
|
35511
|
+
};
|
|
35512
|
+
|
|
35229
35513
|
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
35230
35514
|
"statechange": Event;
|
|
35231
35515
|
}
|
|
@@ -38626,13 +38910,13 @@ interface WEBGL_draw_buffers {
|
|
|
38626
38910
|
*/
|
|
38627
38911
|
interface WEBGL_lose_context {
|
|
38628
38912
|
/**
|
|
38629
|
-
* The **`
|
|
38913
|
+
* The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
|
|
38630
38914
|
*
|
|
38631
38915
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
|
|
38632
38916
|
*/
|
|
38633
38917
|
loseContext(): void;
|
|
38634
38918
|
/**
|
|
38635
|
-
* The **`
|
|
38919
|
+
* The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
|
|
38636
38920
|
*
|
|
38637
38921
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
|
|
38638
38922
|
*/
|
|
@@ -41421,7 +41705,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41421
41705
|
*/
|
|
41422
41706
|
readonly cookieStore: CookieStore;
|
|
41423
41707
|
/**
|
|
41424
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
41708
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
41425
41709
|
*
|
|
41426
41710
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
41427
41711
|
*/
|
|
@@ -41438,6 +41722,13 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41438
41722
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
41439
41723
|
*/
|
|
41440
41724
|
readonly document: Document;
|
|
41725
|
+
/**
|
|
41726
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
41727
|
+
* Available only in secure contexts.
|
|
41728
|
+
*
|
|
41729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
41730
|
+
*/
|
|
41731
|
+
readonly documentPictureInPicture: DocumentPictureInPicture;
|
|
41441
41732
|
/**
|
|
41442
41733
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
41443
41734
|
* @deprecated
|
|
@@ -42590,6 +42881,7 @@ declare namespace CSS {
|
|
|
42590
42881
|
function Hz(value: number): CSSUnitValue;
|
|
42591
42882
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42592
42883
|
function Q(value: number): CSSUnitValue;
|
|
42884
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42593
42885
|
function cap(value: number): CSSUnitValue;
|
|
42594
42886
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42595
42887
|
function ch(value: number): CSSUnitValue;
|
|
@@ -42641,9 +42933,11 @@ declare namespace CSS {
|
|
|
42641
42933
|
function fr(value: number): CSSUnitValue;
|
|
42642
42934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42643
42935
|
function grad(value: number): CSSUnitValue;
|
|
42936
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42644
42937
|
function ic(value: number): CSSUnitValue;
|
|
42645
42938
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42646
42939
|
function kHz(value: number): CSSUnitValue;
|
|
42940
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42647
42941
|
function lh(value: number): CSSUnitValue;
|
|
42648
42942
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42649
42943
|
function lvb(value: number): CSSUnitValue;
|
|
@@ -42673,7 +42967,9 @@ declare namespace CSS {
|
|
|
42673
42967
|
function px(value: number): CSSUnitValue;
|
|
42674
42968
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42675
42969
|
function rad(value: number): CSSUnitValue;
|
|
42970
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42676
42971
|
function rcap(value: number): CSSUnitValue;
|
|
42972
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42677
42973
|
function rch(value: number): CSSUnitValue;
|
|
42678
42974
|
/**
|
|
42679
42975
|
* The **`CSS.registerProperty()`** static method registers custom properties, allowing for property type checking, default values, and properties that do or do not inherit their value.
|
|
@@ -42683,8 +42979,11 @@ declare namespace CSS {
|
|
|
42683
42979
|
function registerProperty(definition: PropertyDefinition): void;
|
|
42684
42980
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42685
42981
|
function rem(value: number): CSSUnitValue;
|
|
42982
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42686
42983
|
function rex(value: number): CSSUnitValue;
|
|
42984
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42687
42985
|
function ric(value: number): CSSUnitValue;
|
|
42986
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42688
42987
|
function rlh(value: number): CSSUnitValue;
|
|
42689
42988
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42690
42989
|
function s(value: number): CSSUnitValue;
|
|
@@ -42771,7 +43070,13 @@ declare namespace WebAssembly {
|
|
|
42771
43070
|
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
42772
43071
|
*/
|
|
42773
43072
|
interface Global<T extends ValueType = ValueType> {
|
|
43073
|
+
/**
|
|
43074
|
+
* The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
|
|
43075
|
+
*
|
|
43076
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
|
|
43077
|
+
*/
|
|
42774
43078
|
value: ValueTypeMap[T];
|
|
43079
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
|
|
42775
43080
|
valueOf(): ValueTypeMap[T];
|
|
42776
43081
|
}
|
|
42777
43082
|
|
|
@@ -43606,7 +43911,7 @@ declare var closed: boolean;
|
|
|
43606
43911
|
*/
|
|
43607
43912
|
declare var cookieStore: CookieStore;
|
|
43608
43913
|
/**
|
|
43609
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
43914
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
43610
43915
|
*
|
|
43611
43916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
43612
43917
|
*/
|
|
@@ -43623,6 +43928,13 @@ declare var devicePixelRatio: number;
|
|
|
43623
43928
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
43624
43929
|
*/
|
|
43625
43930
|
declare var document: Document;
|
|
43931
|
+
/**
|
|
43932
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
43933
|
+
* Available only in secure contexts.
|
|
43934
|
+
*
|
|
43935
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
43936
|
+
*/
|
|
43937
|
+
declare var documentPictureInPicture: DocumentPictureInPicture;
|
|
43626
43938
|
/**
|
|
43627
43939
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
43628
43940
|
* @deprecated
|
|
@@ -44369,6 +44681,7 @@ type AutoFillSection = `section-${string}`;
|
|
|
44369
44681
|
type Base64URLString = string;
|
|
44370
44682
|
type BigInteger = Uint8Array;
|
|
44371
44683
|
type BlobPart = BufferSource | Blob | string;
|
|
44684
|
+
type BluetoothServiceUUID = string | number;
|
|
44372
44685
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
44373
44686
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
44374
44687
|
type COSEAlgorithmIdentifier = number;
|
|
@@ -44460,6 +44773,7 @@ type RequestInfo = Request | string;
|
|
|
44460
44773
|
type SanitizerAttribute = string | SanitizerAttributeNamespace;
|
|
44461
44774
|
type SanitizerElement = string | SanitizerElementNamespace;
|
|
44462
44775
|
type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes;
|
|
44776
|
+
type SanitizerPI = string | SanitizerProcessingInstruction;
|
|
44463
44777
|
type SelectionDirection = "forward" | "backward" | "none";
|
|
44464
44778
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
44465
44779
|
type TimerHandler = string | Function;
|
|
@@ -44530,6 +44844,7 @@ type EndingType = "native" | "transparent";
|
|
|
44530
44844
|
type FileSystemHandleKind = "directory" | "file";
|
|
44531
44845
|
type FillLightMode = "auto" | "flash" | "off";
|
|
44532
44846
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
44847
|
+
type FlowControlType = "hardware" | "none";
|
|
44533
44848
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44534
44849
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44535
44850
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
@@ -44619,6 +44934,7 @@ type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-p
|
|
|
44619
44934
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
44620
44935
|
type OverSampleType = "2x" | "4x" | "none";
|
|
44621
44936
|
type PanningModelType = "HRTF" | "equalpower";
|
|
44937
|
+
type ParityType = "even" | "none" | "odd";
|
|
44622
44938
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
44623
44939
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
44624
44940
|
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|