@@ -142,6 +142,7 @@ interface BiquadFilterOptions extends AudioNodeOptions {
142
142
}
143
143
144
144
interface BlobPropertyBag {
145
+ endings?: EndingType;
145
146
type?: string;
146
147
}
147
148
@@ -200,11 +201,12 @@ interface ComputedEffectTiming extends EffectTiming {
200
201
progress?: number | null;
201
202
}
202
203
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;
208
210
}
209
211
210
212
interface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {
@@ -566,10 +568,11 @@ interface KeyboardEventInit extends EventModifierInit {
566
568
repeat?: boolean;
567
569
}
568
570
569
- interface Keyframe extends Record<keyof CSSStyleDeclaration, string> {
570
- composite?: CompositeOperation | null ;
571
+ interface Keyframe {
572
+ composite?: CompositeOperationOrAuto ;
571
573
easing?: string;
572
574
offset?: number | null;
575
+ [property: string]: string | number | null | undefined;
573
576
}
574
577
575
578
interface KeyframeAnimationOptions extends KeyframeEffectOptions {
@@ -921,10 +924,11 @@ interface PromiseRejectionEventInit extends EventInit {
921
924
reason?: any;
922
925
}
923
926
924
- interface PropertyIndexedKeyframes extends Record<keyof CSSStyleDeclaration, string | string[]> {
925
- composite?: CompositeOperation | (CompositeOperation | null) [];
927
+ interface PropertyIndexedKeyframes {
928
+ composite?: CompositeOperationOrAuto | CompositeOperationOrAuto [];
926
929
easing?: string | string[];
927
930
offset?: number | (number | null)[];
931
+ [property: string]: string | string[] | number | null | (number | null)[] | undefined;
928
932
}
929
933
930
934
interface PushSubscriptionJSON {
@@ -3984,7 +3988,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
3984
3988
/**
3985
3989
* Gets a reference to the root node of the document.
3986
3990
*/
3987
- readonly documentElement: HTMLElement | null ;
3991
+ readonly documentElement: HTMLElement;
3988
3992
/**
3989
3993
* Returns document's URL.
3990
3994
*/
@@ -4016,7 +4020,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
4016
4020
/**
4017
4021
* Returns the head element.
4018
4022
*/
4019
- readonly head: HTMLHeadElement | null ;
4023
+ readonly head: HTMLHeadElement;
4020
4024
readonly hidden: boolean;
4021
4025
/**
4022
4026
* Retrieves a collection, in source order, of img objects in the document.
@@ -4046,7 +4050,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
4046
4050
/**
4047
4051
* Contains information about the current URL.
4048
4052
*/
4049
- location: Location | null ;
4053
+ location: Location;
4050
4054
onfullscreenchange: ((this: Document, ev: Event) => any) | null;
4051
4055
onfullscreenerror: ((this: Document, ev: Event) => any) | null;
4052
4056
/**
@@ -4329,7 +4333,7 @@ interface Document extends Node, NonElementParentNode, DocumentOrShadowRoot, Par
4329
4333
*/
4330
4334
elementFromPoint(x: number, y: number): Element | null;
4331
4335
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;
4333
4337
/**
4334
4338
* Executes a command on the current document, current selection, or the given range.
4335
4339
* @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 {
5013
5017
readAsArrayBuffer(blob: Blob): void;
5014
5018
readAsBinaryString(blob: Blob): void;
5015
5019
readAsDataURL(blob: Blob): void;
5016
- readAsText(blob: Blob, label ?: string): void;
5020
+ readAsText(blob: Blob, encoding ?: string): void;
5017
5021
readonly DONE: number;
5018
5022
readonly EMPTY: number;
5019
5023
readonly LOADING: number;
@@ -7135,7 +7139,7 @@ interface HTMLMediaElement extends HTMLElement {
7135
7139
*/
7136
7140
readonly seekable: TimeRanges;
7137
7141
/**
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.
7139
7143
*/
7140
7144
readonly seeking: boolean;
7141
7145
/**
@@ -11799,7 +11803,7 @@ declare var ReadableStreamReader: {
11799
11803
interface Request extends Body {
11800
11804
/**
11801
11805
* 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.
11803
11807
*/
11804
11808
readonly cache: RequestCache;
11805
11809
/**
@@ -16752,7 +16756,7 @@ declare var XMLSerializer: {
16752
16756
interface XPathEvaluator {
16753
16757
createExpression(expression: string, resolver: XPathNSResolver): XPathExpression;
16754
16758
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;
16756
16760
}
16757
16761
16758
16762
declare var XPathEvaluator: {
@@ -16770,7 +16774,7 @@ declare var XPathExpression: {
16770
16774
};
16771
16775
16772
16776
interface XPathNSResolver {
16773
- lookupNamespaceURI(prefix: string): string;
16777
+ lookupNamespaceURI(prefix: string): string | null ;
16774
16778
}
16775
16779
16776
16780
declare var XPathNSResolver: {
@@ -17648,11 +17652,13 @@ type ChannelCountMode = "max" | "clamped-max" | "explicit";
17648
17652
type ChannelInterpretation = "speakers" | "discrete";
17649
17653
type ClientTypes = "window" | "worker" | "sharedworker" | "all";
17650
17654
type CompositeOperation = "replace" | "add" | "accumulate";
17655
+ type CompositeOperationOrAuto = "replace" | "add" | "accumulate" | "auto";
17651
17656
type DirectionSetting = "" | "rl" | "lr";
17652
17657
type DisplayCaptureSurfaceType = "monitor" | "window" | "application" | "browser";
17653
17658
type DistanceModelType = "linear" | "inverse" | "exponential";
17654
17659
type DocumentReadyState = "loading" | "interactive" | "complete";
17655
17660
type EndOfStreamError = "network" | "decode";
17661
+ type EndingType = "transparent" | "native";
17656
17662
type FillMode = "none" | "forwards" | "backwards" | "both" | "auto";
17657
17663
type GamepadHand = "" | "left" | "right";
17658
17664
type GamepadHapticActuatorType = "vibration";
0 commit comments