@@ -142,6 +142,7 @@ interface BiquadFilterOptions extends AudioNodeOptions {
142142}
143143
144144interface BlobPropertyBag {
145+ endings?: EndingType;
145146 type?: string;
146147}
147148
@@ -200,11 +201,12 @@ interface ComputedEffectTiming extends EffectTiming {
200201 progress?: number | null;
201202}
202203
203- interface ComputedKeyframe extends Record<keyof CSSStyleDeclaration, string> {
204- composite?: CompositeOperation | null;
205- computedOffset?: number;
206- easing?: string;
207- offset?: number | null;
204+ interface ComputedKeyframe {
205+ composite: CompositeOperationOrAuto;
206+ computedOffset: number;
207+ easing: string;
208+ offset: number | null;
209+ [property: string]: string | number | null | undefined;
208210}
209211
210212interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {
@@ -566,10 +568,11 @@ interface KeyboardEventInit extends EventModifierInit {
566568 repeat?: boolean;
567569}
568570
569- interface Keyframe extends Record<keyof CSSStyleDeclaration, string> {
570- composite?: CompositeOperation | null ;
571+ interface Keyframe {
572+ composite?: CompositeOperationOrAuto ;
571573 easing?: string;
572574 offset?: number | null;
575+ [property: string]: string | number | null | undefined;
573576}
574577
575578interface KeyframeAnimationOptions extends KeyframeEffectOptions {
@@ -921,10 +924,11 @@ interface PromiseRejectionEventInit extends EventInit {
921924 reason?: any;
922925}
923926
924- interface PropertyIndexedKeyframes extends Record<keyof CSSStyleDeclaration, string | string[]> {
925- composite?: CompositeOperation | (CompositeOperation | null) [];
927+ interface PropertyIndexedKeyframes {
928+ composite?: CompositeOperationOrAuto | CompositeOperationOrAuto [];
926929 easing?: string | string[];
927930 offset?: number | (number | null)[];
931+ [property: string]: string | string[] | number | null | (number | null)[] | undefined;
928932}
929933
930934interface PushSubscriptionJSON {
@@ -3984,7 +3988,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
39843988 /**
39853989 * Gets a reference to the root node of the document.
39863990 */
3987- readonly documentElement: HTMLElement | null ;
3991+ readonly documentElement: HTMLElement;
39883992 /**
39893993 * Returns document's URL.
39903994 */
@@ -4016,7 +4020,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
40164020 /**
40174021 * Returns the head element.
40184022 */
4019- readonly head: HTMLHeadElement | null ;
4023+ readonly head: HTMLHeadElement;
40204024 readonly hidden: boolean;
40214025 /**
40224026 * Retrieves a collection, in source order, of img objects in the document.
@@ -4046,7 +4050,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
40464050 /**
40474051 * Contains information about the current URL.
40484052 */
4049- location: Location | null ;
4053+ location: Location;
40504054 onfullscreenchange: ((this: Document, ev: Event) => any) | null;
40514055 onfullscreenerror: ((this: Document, ev: Event) => any) | null;
40524056 /**
@@ -4329,7 +4333,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
43294333 */
43304334 elementFromPoint(x: number, y: number): Element | null;
43314335 elementsFromPoint(x: number, y: number): Element[];
4332- evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
4336+ evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | ((prefix: string) => string | null) | null, type: number, result: XPathResult | null): XPathResult;
43334337 /**
43344338 * Executes a command on the current document, current selection, or the given range.
43354339 * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
@@ -5013,7 +5017,7 @@ interface FileReader extends EventTarget {
50135017 readAsArrayBuffer(blob: Blob): void;
50145018 readAsBinaryString(blob: Blob): void;
50155019 readAsDataURL(blob: Blob): void;
5016- readAsText(blob: Blob, label ?: string): void;
5020+ readAsText(blob: Blob, encoding ?: string): void;
50175021 readonly DONE: number;
50185022 readonly EMPTY: number;
50195023 readonly LOADING: number;
@@ -7135,7 +7139,7 @@ interface HTMLMediaElement extends HTMLElement {
71357139 */
71367140 readonly seekable: TimeRanges;
71377141 /**
7138- * Gets a flag that indicates whether the the client is currently moving to a new playback position in the media resource.
7142+ * Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource.
71397143 */
71407144 readonly seeking: boolean;
71417145 /**
@@ -11799,7 +11803,7 @@ declare var ReadableStreamReader: {
1179911803interface Request extends Body {
1180011804 /**
1180111805 * Returns the cache mode associated with request, which is a string indicating
11802- * how the the request will interact with the browser's cache when fetching.
11806+ * how the request will interact with the browser's cache when fetching.
1180311807 */
1180411808 readonly cache: RequestCache;
1180511809 /**
@@ -16752,7 +16756,7 @@ declare var XMLSerializer: {
1675216756interface XPathEvaluator {
1675316757 createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;
1675416758 createNSResolver(nodeResolver?: Node): XPathNSResolver;
16755- evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
16759+ evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | ((prefix: string) => string | null) | null, type: number, result: XPathResult | null): XPathResult;
1675616760}
1675716761
1675816762declare var XPathEvaluator: {
@@ -16770,7 +16774,7 @@ declare var XPathExpression: {
1677016774};
1677116775
1677216776interface XPathNSResolver {
16773- lookupNamespaceURI(prefix: string): string;
16777+ lookupNamespaceURI(prefix: string): string | null ;
1677416778}
1677516779
1677616780declare var XPathNSResolver: {
@@ -17648,11 +17652,13 @@ type ChannelCountMode = "max" | "clamped-max" | "explicit";
1764817652type ChannelInterpretation = "speakers" | "discrete";
1764917653type ClientTypes = "window" | "worker" | "sharedworker" | "all";
1765017654type CompositeOperation = "replace" | "add" | "accumulate";
17655+ type CompositeOperationOrAuto = "replace" | "add" | "accumulate" | "auto";
1765117656type DirectionSetting = "" | "rl" | "lr";
1765217657type DisplayCaptureSurfaceType = "monitor" | "window" | "application" | "browser";
1765317658type DistanceModelType = "linear" | "inverse" | "exponential";
1765417659type DocumentReadyState = "loading" | "interactive" | "complete";
1765517660type EndOfStreamError = "network" | "decode";
17661+ type EndingType = "transparent" | "native";
1765617662type FillMode = "none" | "forwards" | "backwards" | "both" | "auto";
1765717663type GamepadHand = "" | "left" | "right";
1765817664type GamepadHapticActuatorType = "vibration";
0 commit comments