@types/web 0.0.61 → 0.0.64
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 +1 -1
- package/index.d.ts +57 -176
- package/iterable.d.ts +1 -11
- package/package.json +1 -1
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.
|
|
50
|
+
You can read what changed in version 0.0.64 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.64.
|
package/index.d.ts
CHANGED
|
@@ -572,6 +572,10 @@ interface IDBObjectStoreParameters {
|
|
|
572
572
|
keyPath?: string | string[] | null;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
+
interface IDBTransactionOptions {
|
|
576
|
+
durability?: IDBTransactionDurability;
|
|
577
|
+
}
|
|
578
|
+
|
|
575
579
|
interface IDBVersionChangeEventInit extends EventInit {
|
|
576
580
|
newVersion?: number | null;
|
|
577
581
|
oldVersion?: number;
|
|
@@ -703,19 +707,6 @@ interface LockOptions {
|
|
|
703
707
|
steal?: boolean;
|
|
704
708
|
}
|
|
705
709
|
|
|
706
|
-
interface MIDIConnectionEventInit extends EventInit {
|
|
707
|
-
port?: MIDIPort;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
interface MIDIMessageEventInit extends EventInit {
|
|
711
|
-
data?: Uint8Array;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
interface MIDIOptions {
|
|
715
|
-
software?: boolean;
|
|
716
|
-
sysex?: boolean;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
710
|
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
|
|
720
711
|
configuration?: MediaDecodingConfiguration;
|
|
721
712
|
}
|
|
@@ -1496,12 +1487,12 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1496
1487
|
tlsVersion?: string;
|
|
1497
1488
|
}
|
|
1498
1489
|
|
|
1499
|
-
interface
|
|
1490
|
+
interface ReadableStreamReadDoneResult {
|
|
1500
1491
|
done: true;
|
|
1501
1492
|
value?: undefined;
|
|
1502
1493
|
}
|
|
1503
1494
|
|
|
1504
|
-
interface
|
|
1495
|
+
interface ReadableStreamReadValueResult<T> {
|
|
1505
1496
|
done: false;
|
|
1506
1497
|
value: T;
|
|
1507
1498
|
}
|
|
@@ -2549,7 +2540,7 @@ declare var CSSAnimation: {
|
|
|
2549
2540
|
|
|
2550
2541
|
/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */
|
|
2551
2542
|
interface CSSConditionRule extends CSSGroupingRule {
|
|
2552
|
-
conditionText: string;
|
|
2543
|
+
readonly conditionText: string;
|
|
2553
2544
|
}
|
|
2554
2545
|
|
|
2555
2546
|
declare var CSSConditionRule: {
|
|
@@ -2835,7 +2826,6 @@ interface CSSStyleDeclaration {
|
|
|
2835
2826
|
columns: string;
|
|
2836
2827
|
contain: string;
|
|
2837
2828
|
content: string;
|
|
2838
|
-
contentVisibility: string;
|
|
2839
2829
|
counterIncrement: string;
|
|
2840
2830
|
counterReset: string;
|
|
2841
2831
|
counterSet: string;
|
|
@@ -3209,6 +3199,8 @@ interface CSSStyleDeclaration {
|
|
|
3209
3199
|
/** @deprecated This is a legacy alias of `perspectiveOrigin`. */
|
|
3210
3200
|
webkitPerspectiveOrigin: string;
|
|
3211
3201
|
webkitTextFillColor: string;
|
|
3202
|
+
/** @deprecated This is a legacy alias of `textSizeAdjust`. */
|
|
3203
|
+
webkitTextSizeAdjust: string;
|
|
3212
3204
|
webkitTextStroke: string;
|
|
3213
3205
|
webkitTextStrokeColor: string;
|
|
3214
3206
|
webkitTextStrokeWidth: string;
|
|
@@ -4503,8 +4495,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4503
4495
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
4504
4496
|
createEvent(eventInterface: "InputEvent"): InputEvent;
|
|
4505
4497
|
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
|
|
4506
|
-
createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent;
|
|
4507
|
-
createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;
|
|
4508
4498
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4509
4499
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4510
4500
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
@@ -6054,7 +6044,6 @@ declare var HTMLBaseElement: {
|
|
|
6054
6044
|
};
|
|
6055
6045
|
|
|
6056
6046
|
interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {
|
|
6057
|
-
"orientationchange": Event;
|
|
6058
6047
|
}
|
|
6059
6048
|
|
|
6060
6049
|
/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */
|
|
@@ -6068,8 +6057,6 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
|
|
|
6068
6057
|
/** @deprecated */
|
|
6069
6058
|
link: string;
|
|
6070
6059
|
/** @deprecated */
|
|
6071
|
-
onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;
|
|
6072
|
-
/** @deprecated */
|
|
6073
6060
|
text: string;
|
|
6074
6061
|
/** @deprecated */
|
|
6075
6062
|
vLink: string;
|
|
@@ -6328,6 +6315,7 @@ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementC
|
|
|
6328
6315
|
dir: string;
|
|
6329
6316
|
draggable: boolean;
|
|
6330
6317
|
hidden: boolean;
|
|
6318
|
+
inert: boolean;
|
|
6331
6319
|
innerText: string;
|
|
6332
6320
|
lang: string;
|
|
6333
6321
|
readonly offsetHeight: number;
|
|
@@ -6991,6 +6979,7 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
6991
6979
|
* @param direction The direction in which the selection is performed.
|
|
6992
6980
|
*/
|
|
6993
6981
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
6982
|
+
showPicker(): void;
|
|
6994
6983
|
/**
|
|
6995
6984
|
* Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
|
|
6996
6985
|
* @param n Value to decrement the value by.
|
|
@@ -7218,6 +7207,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
7218
7207
|
readonly played: TimeRanges;
|
|
7219
7208
|
/** Gets or sets a value indicating what data should be preloaded, if any. */
|
|
7220
7209
|
preload: "none" | "metadata" | "auto" | "";
|
|
7210
|
+
preservesPitch: boolean;
|
|
7221
7211
|
readonly readyState: number;
|
|
7222
7212
|
readonly remote: RemotePlayback;
|
|
7223
7213
|
/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */
|
|
@@ -7584,16 +7574,25 @@ declare var HTMLParagraphElement: {
|
|
|
7584
7574
|
new(): HTMLParagraphElement;
|
|
7585
7575
|
};
|
|
7586
7576
|
|
|
7587
|
-
/**
|
|
7577
|
+
/**
|
|
7578
|
+
* Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element.
|
|
7579
|
+
* @deprecated
|
|
7580
|
+
*/
|
|
7588
7581
|
interface HTMLParamElement extends HTMLElement {
|
|
7589
|
-
/**
|
|
7582
|
+
/**
|
|
7583
|
+
* Sets or retrieves the name of an input parameter for an element.
|
|
7584
|
+
* @deprecated
|
|
7585
|
+
*/
|
|
7590
7586
|
name: string;
|
|
7591
7587
|
/**
|
|
7592
7588
|
* Sets or retrieves the content type of the resource designated by the value attribute.
|
|
7593
7589
|
* @deprecated
|
|
7594
7590
|
*/
|
|
7595
7591
|
type: string;
|
|
7596
|
-
/**
|
|
7592
|
+
/**
|
|
7593
|
+
* Sets or retrieves the value of an input parameter for an element.
|
|
7594
|
+
* @deprecated
|
|
7595
|
+
*/
|
|
7597
7596
|
value: string;
|
|
7598
7597
|
/**
|
|
7599
7598
|
* Sets or retrieves the data type of the value attribute.
|
|
@@ -7606,6 +7605,7 @@ interface HTMLParamElement extends HTMLElement {
|
|
|
7606
7605
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
7607
7606
|
}
|
|
7608
7607
|
|
|
7608
|
+
/** @deprecated */
|
|
7609
7609
|
declare var HTMLParamElement: {
|
|
7610
7610
|
prototype: HTMLParamElement;
|
|
7611
7611
|
new(): HTMLParamElement;
|
|
@@ -8499,7 +8499,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
8499
8499
|
*/
|
|
8500
8500
|
deleteObjectStore(name: string): void;
|
|
8501
8501
|
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
8502
|
-
transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;
|
|
8502
|
+
transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
8503
8503
|
addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8504
8504
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
8505
8505
|
removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -9085,126 +9085,6 @@ declare var LockManager: {
|
|
|
9085
9085
|
new(): LockManager;
|
|
9086
9086
|
};
|
|
9087
9087
|
|
|
9088
|
-
interface MIDIAccessEventMap {
|
|
9089
|
-
"statechange": Event;
|
|
9090
|
-
}
|
|
9091
|
-
|
|
9092
|
-
/** Available only in secure contexts. */
|
|
9093
|
-
interface MIDIAccess extends EventTarget {
|
|
9094
|
-
readonly inputs: MIDIInputMap;
|
|
9095
|
-
onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;
|
|
9096
|
-
readonly outputs: MIDIOutputMap;
|
|
9097
|
-
readonly sysexEnabled: boolean;
|
|
9098
|
-
addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9099
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9100
|
-
removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9101
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9102
|
-
}
|
|
9103
|
-
|
|
9104
|
-
declare var MIDIAccess: {
|
|
9105
|
-
prototype: MIDIAccess;
|
|
9106
|
-
new(): MIDIAccess;
|
|
9107
|
-
};
|
|
9108
|
-
|
|
9109
|
-
/** Available only in secure contexts. */
|
|
9110
|
-
interface MIDIConnectionEvent extends Event {
|
|
9111
|
-
readonly port: MIDIPort;
|
|
9112
|
-
}
|
|
9113
|
-
|
|
9114
|
-
declare var MIDIConnectionEvent: {
|
|
9115
|
-
prototype: MIDIConnectionEvent;
|
|
9116
|
-
new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;
|
|
9117
|
-
};
|
|
9118
|
-
|
|
9119
|
-
interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
9120
|
-
"midimessage": Event;
|
|
9121
|
-
}
|
|
9122
|
-
|
|
9123
|
-
/** Available only in secure contexts. */
|
|
9124
|
-
interface MIDIInput extends MIDIPort {
|
|
9125
|
-
onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;
|
|
9126
|
-
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9127
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9128
|
-
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9129
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9130
|
-
}
|
|
9131
|
-
|
|
9132
|
-
declare var MIDIInput: {
|
|
9133
|
-
prototype: MIDIInput;
|
|
9134
|
-
new(): MIDIInput;
|
|
9135
|
-
};
|
|
9136
|
-
|
|
9137
|
-
/** Available only in secure contexts. */
|
|
9138
|
-
interface MIDIInputMap {
|
|
9139
|
-
forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
|
|
9140
|
-
}
|
|
9141
|
-
|
|
9142
|
-
declare var MIDIInputMap: {
|
|
9143
|
-
prototype: MIDIInputMap;
|
|
9144
|
-
new(): MIDIInputMap;
|
|
9145
|
-
};
|
|
9146
|
-
|
|
9147
|
-
/** Available only in secure contexts. */
|
|
9148
|
-
interface MIDIMessageEvent extends Event {
|
|
9149
|
-
readonly data: Uint8Array;
|
|
9150
|
-
}
|
|
9151
|
-
|
|
9152
|
-
declare var MIDIMessageEvent: {
|
|
9153
|
-
prototype: MIDIMessageEvent;
|
|
9154
|
-
new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;
|
|
9155
|
-
};
|
|
9156
|
-
|
|
9157
|
-
/** Available only in secure contexts. */
|
|
9158
|
-
interface MIDIOutput extends MIDIPort {
|
|
9159
|
-
send(data: number[], timestamp?: DOMHighResTimeStamp): void;
|
|
9160
|
-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9161
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9162
|
-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9163
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9164
|
-
}
|
|
9165
|
-
|
|
9166
|
-
declare var MIDIOutput: {
|
|
9167
|
-
prototype: MIDIOutput;
|
|
9168
|
-
new(): MIDIOutput;
|
|
9169
|
-
};
|
|
9170
|
-
|
|
9171
|
-
/** Available only in secure contexts. */
|
|
9172
|
-
interface MIDIOutputMap {
|
|
9173
|
-
forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
|
|
9174
|
-
}
|
|
9175
|
-
|
|
9176
|
-
declare var MIDIOutputMap: {
|
|
9177
|
-
prototype: MIDIOutputMap;
|
|
9178
|
-
new(): MIDIOutputMap;
|
|
9179
|
-
};
|
|
9180
|
-
|
|
9181
|
-
interface MIDIPortEventMap {
|
|
9182
|
-
"statechange": Event;
|
|
9183
|
-
}
|
|
9184
|
-
|
|
9185
|
-
/** Available only in secure contexts. */
|
|
9186
|
-
interface MIDIPort extends EventTarget {
|
|
9187
|
-
readonly connection: MIDIPortConnectionState;
|
|
9188
|
-
readonly id: string;
|
|
9189
|
-
readonly manufacturer: string | null;
|
|
9190
|
-
readonly name: string | null;
|
|
9191
|
-
onstatechange: ((this: MIDIPort, ev: Event) => any) | null;
|
|
9192
|
-
readonly state: MIDIPortDeviceState;
|
|
9193
|
-
readonly type: MIDIPortType;
|
|
9194
|
-
readonly version: string | null;
|
|
9195
|
-
close(): Promise<MIDIPort>;
|
|
9196
|
-
open(): Promise<MIDIPort>;
|
|
9197
|
-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9198
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9199
|
-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9200
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9201
|
-
}
|
|
9202
|
-
|
|
9203
|
-
declare var MIDIPort: {
|
|
9204
|
-
prototype: MIDIPort;
|
|
9205
|
-
new(): MIDIPort;
|
|
9206
|
-
};
|
|
9207
|
-
|
|
9208
9088
|
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
|
|
9209
9089
|
}
|
|
9210
9090
|
|
|
@@ -9907,7 +9787,7 @@ declare var NavigationPreloadManager: {
|
|
|
9907
9787
|
};
|
|
9908
9788
|
|
|
9909
9789
|
/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */
|
|
9910
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks,
|
|
9790
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
9911
9791
|
/** Available only in secure contexts. */
|
|
9912
9792
|
readonly clipboard: Clipboard;
|
|
9913
9793
|
/** Available only in secure contexts. */
|
|
@@ -9926,8 +9806,6 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
|
|
|
9926
9806
|
canShare(data?: ShareData): boolean;
|
|
9927
9807
|
getGamepads(): (Gamepad | null)[];
|
|
9928
9808
|
/** Available only in secure contexts. */
|
|
9929
|
-
requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
|
|
9930
|
-
/** Available only in secure contexts. */
|
|
9931
9809
|
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
|
|
9932
9810
|
sendBeacon(url: string | URL, data?: BodyInit | null): boolean;
|
|
9933
9811
|
/** Available only in secure contexts. */
|
|
@@ -9964,7 +9842,6 @@ interface NavigatorID {
|
|
|
9964
9842
|
readonly appName: string;
|
|
9965
9843
|
/** @deprecated */
|
|
9966
9844
|
readonly appVersion: string;
|
|
9967
|
-
/** @deprecated */
|
|
9968
9845
|
readonly platform: string;
|
|
9969
9846
|
/** @deprecated */
|
|
9970
9847
|
readonly product: string;
|
|
@@ -9986,10 +9863,6 @@ interface NavigatorLocks {
|
|
|
9986
9863
|
readonly locks: LockManager;
|
|
9987
9864
|
}
|
|
9988
9865
|
|
|
9989
|
-
interface NavigatorNetworkInformation {
|
|
9990
|
-
readonly connection: NetworkInformation;
|
|
9991
|
-
}
|
|
9992
|
-
|
|
9993
9866
|
interface NavigatorOnLine {
|
|
9994
9867
|
readonly onLine: boolean;
|
|
9995
9868
|
}
|
|
@@ -10009,15 +9882,6 @@ interface NavigatorStorage {
|
|
|
10009
9882
|
readonly storage: StorageManager;
|
|
10010
9883
|
}
|
|
10011
9884
|
|
|
10012
|
-
interface NetworkInformation extends EventTarget {
|
|
10013
|
-
readonly type: ConnectionType;
|
|
10014
|
-
}
|
|
10015
|
-
|
|
10016
|
-
declare var NetworkInformation: {
|
|
10017
|
-
prototype: NetworkInformation;
|
|
10018
|
-
new(): NetworkInformation;
|
|
10019
|
-
};
|
|
10020
|
-
|
|
10021
9885
|
/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */
|
|
10022
9886
|
interface Node extends EventTarget {
|
|
10023
9887
|
/** Returns node's node document's document base URL. */
|
|
@@ -11485,7 +11349,7 @@ declare var ReadableStreamDefaultController: {
|
|
|
11485
11349
|
};
|
|
11486
11350
|
|
|
11487
11351
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
11488
|
-
read(): Promise<
|
|
11352
|
+
read(): Promise<ReadableStreamReadResult<R>>;
|
|
11489
11353
|
releaseLock(): void;
|
|
11490
11354
|
}
|
|
11491
11355
|
|
|
@@ -17475,7 +17339,6 @@ interface HTMLElementTagNameMap {
|
|
|
17475
17339
|
"details": HTMLDetailsElement;
|
|
17476
17340
|
"dfn": HTMLElement;
|
|
17477
17341
|
"dialog": HTMLDialogElement;
|
|
17478
|
-
"dir": HTMLDirectoryElement;
|
|
17479
17342
|
"div": HTMLDivElement;
|
|
17480
17343
|
"dl": HTMLDListElement;
|
|
17481
17344
|
"dt": HTMLElement;
|
|
@@ -17484,11 +17347,8 @@ interface HTMLElementTagNameMap {
|
|
|
17484
17347
|
"fieldset": HTMLFieldSetElement;
|
|
17485
17348
|
"figcaption": HTMLElement;
|
|
17486
17349
|
"figure": HTMLElement;
|
|
17487
|
-
"font": HTMLFontElement;
|
|
17488
17350
|
"footer": HTMLElement;
|
|
17489
17351
|
"form": HTMLFormElement;
|
|
17490
|
-
"frame": HTMLFrameElement;
|
|
17491
|
-
"frameset": HTMLFrameSetElement;
|
|
17492
17352
|
"h1": HTMLHeadingElement;
|
|
17493
17353
|
"h2": HTMLHeadingElement;
|
|
17494
17354
|
"h3": HTMLHeadingElement;
|
|
@@ -17513,7 +17373,6 @@ interface HTMLElementTagNameMap {
|
|
|
17513
17373
|
"main": HTMLElement;
|
|
17514
17374
|
"map": HTMLMapElement;
|
|
17515
17375
|
"mark": HTMLElement;
|
|
17516
|
-
"marquee": HTMLMarqueeElement;
|
|
17517
17376
|
"menu": HTMLMenuElement;
|
|
17518
17377
|
"meta": HTMLMetaElement;
|
|
17519
17378
|
"meter": HTMLMeterElement;
|
|
@@ -17525,7 +17384,6 @@ interface HTMLElementTagNameMap {
|
|
|
17525
17384
|
"option": HTMLOptionElement;
|
|
17526
17385
|
"output": HTMLOutputElement;
|
|
17527
17386
|
"p": HTMLParagraphElement;
|
|
17528
|
-
"param": HTMLParamElement;
|
|
17529
17387
|
"picture": HTMLPictureElement;
|
|
17530
17388
|
"pre": HTMLPreElement;
|
|
17531
17389
|
"progress": HTMLProgressElement;
|
|
@@ -17567,7 +17425,34 @@ interface HTMLElementTagNameMap {
|
|
|
17567
17425
|
}
|
|
17568
17426
|
|
|
17569
17427
|
interface HTMLElementDeprecatedTagNameMap {
|
|
17428
|
+
"acronym": HTMLElement;
|
|
17429
|
+
"applet": HTMLUnknownElement;
|
|
17430
|
+
"basefont": HTMLElement;
|
|
17431
|
+
"bgsound": HTMLUnknownElement;
|
|
17432
|
+
"big": HTMLElement;
|
|
17433
|
+
"blink": HTMLUnknownElement;
|
|
17434
|
+
"center": HTMLElement;
|
|
17435
|
+
"dir": HTMLDirectoryElement;
|
|
17436
|
+
"font": HTMLFontElement;
|
|
17437
|
+
"frame": HTMLFrameElement;
|
|
17438
|
+
"frameset": HTMLFrameSetElement;
|
|
17439
|
+
"isindex": HTMLUnknownElement;
|
|
17440
|
+
"keygen": HTMLUnknownElement;
|
|
17570
17441
|
"listing": HTMLPreElement;
|
|
17442
|
+
"marquee": HTMLMarqueeElement;
|
|
17443
|
+
"menuitem": HTMLElement;
|
|
17444
|
+
"multicol": HTMLUnknownElement;
|
|
17445
|
+
"nextid": HTMLUnknownElement;
|
|
17446
|
+
"nobr": HTMLElement;
|
|
17447
|
+
"noembed": HTMLElement;
|
|
17448
|
+
"noframes": HTMLElement;
|
|
17449
|
+
"param": HTMLParamElement;
|
|
17450
|
+
"plaintext": HTMLElement;
|
|
17451
|
+
"rb": HTMLElement;
|
|
17452
|
+
"rtc": HTMLElement;
|
|
17453
|
+
"spacer": HTMLUnknownElement;
|
|
17454
|
+
"strike": HTMLElement;
|
|
17455
|
+
"tt": HTMLElement;
|
|
17571
17456
|
"xmp": HTMLPreElement;
|
|
17572
17457
|
}
|
|
17573
17458
|
|
|
@@ -18134,7 +18019,7 @@ type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
|
18134
18019
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
18135
18020
|
type PerformanceEntryList = PerformanceEntry[];
|
|
18136
18021
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
|
|
18137
|
-
type
|
|
18022
|
+
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult;
|
|
18138
18023
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T>;
|
|
18139
18024
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
18140
18025
|
type RequestInfo = Request | string;
|
|
@@ -18178,11 +18063,10 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
18178
18063
|
type ColorSpaceConversion = "default" | "none";
|
|
18179
18064
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
18180
18065
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
18181
|
-
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
|
|
18182
18066
|
type CredentialMediationRequirement = "optional" | "required" | "silent";
|
|
18183
18067
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
18184
18068
|
type DirectionSetting = "" | "lr" | "rl";
|
|
18185
|
-
type DisplayCaptureSurfaceType = "
|
|
18069
|
+
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
18186
18070
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
18187
18071
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
18188
18072
|
type DocumentVisibilityState = "hidden" | "visible";
|
|
@@ -18209,9 +18093,6 @@ type KeyType = "private" | "public" | "secret";
|
|
|
18209
18093
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
18210
18094
|
type LineAlignSetting = "center" | "end" | "start";
|
|
18211
18095
|
type LockMode = "exclusive" | "shared";
|
|
18212
|
-
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
18213
|
-
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
18214
|
-
type MIDIPortType = "input" | "output";
|
|
18215
18096
|
type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
18216
18097
|
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
|
|
18217
18098
|
type MediaEncodingType = "record" | "webrtc";
|
package/iterable.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ interface Headers {
|
|
|
101
101
|
|
|
102
102
|
interface IDBDatabase {
|
|
103
103
|
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
104
|
-
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
|
104
|
+
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
interface IDBObjectStore {
|
|
@@ -113,16 +113,6 @@ interface IDBObjectStore {
|
|
|
113
113
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
interface MIDIOutput {
|
|
120
|
-
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
|
124
|
-
}
|
|
125
|
-
|
|
126
116
|
interface MediaKeyStatusMap {
|
|
127
117
|
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
|
|
128
118
|
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
|