@types/web 0.0.63 → 0.0.66
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 +73 -150
- 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.66 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.66.
|
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
|
}
|
|
@@ -1797,6 +1788,19 @@ interface UnderlyingSource<R = any> {
|
|
|
1797
1788
|
type?: undefined;
|
|
1798
1789
|
}
|
|
1799
1790
|
|
|
1791
|
+
interface ValidityStateFlags {
|
|
1792
|
+
badInput?: boolean;
|
|
1793
|
+
customError?: boolean;
|
|
1794
|
+
patternMismatch?: boolean;
|
|
1795
|
+
rangeOverflow?: boolean;
|
|
1796
|
+
rangeUnderflow?: boolean;
|
|
1797
|
+
stepMismatch?: boolean;
|
|
1798
|
+
tooLong?: boolean;
|
|
1799
|
+
tooShort?: boolean;
|
|
1800
|
+
typeMismatch?: boolean;
|
|
1801
|
+
valueMissing?: boolean;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1800
1804
|
interface VideoColorSpaceInit {
|
|
1801
1805
|
fullRange?: boolean;
|
|
1802
1806
|
matrix?: VideoMatrixCoefficients;
|
|
@@ -3760,6 +3764,7 @@ declare var CustomEvent: {
|
|
|
3760
3764
|
|
|
3761
3765
|
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
|
|
3762
3766
|
interface DOMException extends Error {
|
|
3767
|
+
/** @deprecated */
|
|
3763
3768
|
readonly code: number;
|
|
3764
3769
|
readonly message: string;
|
|
3765
3770
|
readonly name: string;
|
|
@@ -4504,8 +4509,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4504
4509
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
4505
4510
|
createEvent(eventInterface: "InputEvent"): InputEvent;
|
|
4506
4511
|
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
|
|
4507
|
-
createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent;
|
|
4508
|
-
createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;
|
|
4509
4512
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4510
4513
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4511
4514
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
@@ -4964,14 +4967,24 @@ interface ElementInternals extends ARIAMixin {
|
|
|
4964
4967
|
readonly labels: NodeList;
|
|
4965
4968
|
/** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */
|
|
4966
4969
|
readonly shadowRoot: ShadowRoot | null;
|
|
4970
|
+
/** Returns the error message that would be shown to the user if internals's target element was to be checked for validity. */
|
|
4971
|
+
readonly validationMessage: string;
|
|
4972
|
+
/** Returns the ValidityState object for internals's target element. */
|
|
4973
|
+
readonly validity: ValidityState;
|
|
4967
4974
|
/** Returns true if internals's target element will be validated when the form is submitted; false otherwise. */
|
|
4968
4975
|
readonly willValidate: boolean;
|
|
4976
|
+
/** Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */
|
|
4977
|
+
checkValidity(): boolean;
|
|
4978
|
+
/** Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user. */
|
|
4979
|
+
reportValidity(): boolean;
|
|
4969
4980
|
/**
|
|
4970
4981
|
* Sets both the state and submission value of internals's target element to value.
|
|
4971
4982
|
*
|
|
4972
4983
|
* If value is null, the element won't participate in form submission.
|
|
4973
4984
|
*/
|
|
4974
4985
|
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
4986
|
+
/** Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals's target element when the form owner is validated interactively or reportValidity() is called. */
|
|
4987
|
+
setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
4975
4988
|
}
|
|
4976
4989
|
|
|
4977
4990
|
declare var ElementInternals: {
|
|
@@ -6326,6 +6339,7 @@ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementC
|
|
|
6326
6339
|
dir: string;
|
|
6327
6340
|
draggable: boolean;
|
|
6328
6341
|
hidden: boolean;
|
|
6342
|
+
inert: boolean;
|
|
6329
6343
|
innerText: string;
|
|
6330
6344
|
lang: string;
|
|
6331
6345
|
readonly offsetHeight: number;
|
|
@@ -6989,6 +7003,7 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
6989
7003
|
* @param direction The direction in which the selection is performed.
|
|
6990
7004
|
*/
|
|
6991
7005
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
7006
|
+
showPicker(): void;
|
|
6992
7007
|
/**
|
|
6993
7008
|
* 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.
|
|
6994
7009
|
* @param n Value to decrement the value by.
|
|
@@ -7216,6 +7231,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
7216
7231
|
readonly played: TimeRanges;
|
|
7217
7232
|
/** Gets or sets a value indicating what data should be preloaded, if any. */
|
|
7218
7233
|
preload: "none" | "metadata" | "auto" | "";
|
|
7234
|
+
preservesPitch: boolean;
|
|
7219
7235
|
readonly readyState: number;
|
|
7220
7236
|
readonly remote: RemotePlayback;
|
|
7221
7237
|
/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */
|
|
@@ -7582,16 +7598,25 @@ declare var HTMLParagraphElement: {
|
|
|
7582
7598
|
new(): HTMLParagraphElement;
|
|
7583
7599
|
};
|
|
7584
7600
|
|
|
7585
|
-
/**
|
|
7601
|
+
/**
|
|
7602
|
+
* 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.
|
|
7603
|
+
* @deprecated
|
|
7604
|
+
*/
|
|
7586
7605
|
interface HTMLParamElement extends HTMLElement {
|
|
7587
|
-
/**
|
|
7606
|
+
/**
|
|
7607
|
+
* Sets or retrieves the name of an input parameter for an element.
|
|
7608
|
+
* @deprecated
|
|
7609
|
+
*/
|
|
7588
7610
|
name: string;
|
|
7589
7611
|
/**
|
|
7590
7612
|
* Sets or retrieves the content type of the resource designated by the value attribute.
|
|
7591
7613
|
* @deprecated
|
|
7592
7614
|
*/
|
|
7593
7615
|
type: string;
|
|
7594
|
-
/**
|
|
7616
|
+
/**
|
|
7617
|
+
* Sets or retrieves the value of an input parameter for an element.
|
|
7618
|
+
* @deprecated
|
|
7619
|
+
*/
|
|
7595
7620
|
value: string;
|
|
7596
7621
|
/**
|
|
7597
7622
|
* Sets or retrieves the data type of the value attribute.
|
|
@@ -7604,6 +7629,7 @@ interface HTMLParamElement extends HTMLElement {
|
|
|
7604
7629
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
7605
7630
|
}
|
|
7606
7631
|
|
|
7632
|
+
/** @deprecated */
|
|
7607
7633
|
declare var HTMLParamElement: {
|
|
7608
7634
|
prototype: HTMLParamElement;
|
|
7609
7635
|
new(): HTMLParamElement;
|
|
@@ -8497,7 +8523,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
8497
8523
|
*/
|
|
8498
8524
|
deleteObjectStore(name: string): void;
|
|
8499
8525
|
/** 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. */
|
|
8500
|
-
transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;
|
|
8526
|
+
transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
8501
8527
|
addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8502
8528
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
8503
8529
|
removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -9083,126 +9109,6 @@ declare var LockManager: {
|
|
|
9083
9109
|
new(): LockManager;
|
|
9084
9110
|
};
|
|
9085
9111
|
|
|
9086
|
-
interface MIDIAccessEventMap {
|
|
9087
|
-
"statechange": Event;
|
|
9088
|
-
}
|
|
9089
|
-
|
|
9090
|
-
/** Available only in secure contexts. */
|
|
9091
|
-
interface MIDIAccess extends EventTarget {
|
|
9092
|
-
readonly inputs: MIDIInputMap;
|
|
9093
|
-
onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;
|
|
9094
|
-
readonly outputs: MIDIOutputMap;
|
|
9095
|
-
readonly sysexEnabled: boolean;
|
|
9096
|
-
addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9097
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9098
|
-
removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9099
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9100
|
-
}
|
|
9101
|
-
|
|
9102
|
-
declare var MIDIAccess: {
|
|
9103
|
-
prototype: MIDIAccess;
|
|
9104
|
-
new(): MIDIAccess;
|
|
9105
|
-
};
|
|
9106
|
-
|
|
9107
|
-
/** Available only in secure contexts. */
|
|
9108
|
-
interface MIDIConnectionEvent extends Event {
|
|
9109
|
-
readonly port: MIDIPort;
|
|
9110
|
-
}
|
|
9111
|
-
|
|
9112
|
-
declare var MIDIConnectionEvent: {
|
|
9113
|
-
prototype: MIDIConnectionEvent;
|
|
9114
|
-
new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;
|
|
9115
|
-
};
|
|
9116
|
-
|
|
9117
|
-
interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
9118
|
-
"midimessage": Event;
|
|
9119
|
-
}
|
|
9120
|
-
|
|
9121
|
-
/** Available only in secure contexts. */
|
|
9122
|
-
interface MIDIInput extends MIDIPort {
|
|
9123
|
-
onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;
|
|
9124
|
-
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9125
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9126
|
-
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9127
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9128
|
-
}
|
|
9129
|
-
|
|
9130
|
-
declare var MIDIInput: {
|
|
9131
|
-
prototype: MIDIInput;
|
|
9132
|
-
new(): MIDIInput;
|
|
9133
|
-
};
|
|
9134
|
-
|
|
9135
|
-
/** Available only in secure contexts. */
|
|
9136
|
-
interface MIDIInputMap {
|
|
9137
|
-
forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
|
|
9138
|
-
}
|
|
9139
|
-
|
|
9140
|
-
declare var MIDIInputMap: {
|
|
9141
|
-
prototype: MIDIInputMap;
|
|
9142
|
-
new(): MIDIInputMap;
|
|
9143
|
-
};
|
|
9144
|
-
|
|
9145
|
-
/** Available only in secure contexts. */
|
|
9146
|
-
interface MIDIMessageEvent extends Event {
|
|
9147
|
-
readonly data: Uint8Array;
|
|
9148
|
-
}
|
|
9149
|
-
|
|
9150
|
-
declare var MIDIMessageEvent: {
|
|
9151
|
-
prototype: MIDIMessageEvent;
|
|
9152
|
-
new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;
|
|
9153
|
-
};
|
|
9154
|
-
|
|
9155
|
-
/** Available only in secure contexts. */
|
|
9156
|
-
interface MIDIOutput extends MIDIPort {
|
|
9157
|
-
send(data: number[], timestamp?: DOMHighResTimeStamp): void;
|
|
9158
|
-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9159
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9160
|
-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9161
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9162
|
-
}
|
|
9163
|
-
|
|
9164
|
-
declare var MIDIOutput: {
|
|
9165
|
-
prototype: MIDIOutput;
|
|
9166
|
-
new(): MIDIOutput;
|
|
9167
|
-
};
|
|
9168
|
-
|
|
9169
|
-
/** Available only in secure contexts. */
|
|
9170
|
-
interface MIDIOutputMap {
|
|
9171
|
-
forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
|
|
9172
|
-
}
|
|
9173
|
-
|
|
9174
|
-
declare var MIDIOutputMap: {
|
|
9175
|
-
prototype: MIDIOutputMap;
|
|
9176
|
-
new(): MIDIOutputMap;
|
|
9177
|
-
};
|
|
9178
|
-
|
|
9179
|
-
interface MIDIPortEventMap {
|
|
9180
|
-
"statechange": Event;
|
|
9181
|
-
}
|
|
9182
|
-
|
|
9183
|
-
/** Available only in secure contexts. */
|
|
9184
|
-
interface MIDIPort extends EventTarget {
|
|
9185
|
-
readonly connection: MIDIPortConnectionState;
|
|
9186
|
-
readonly id: string;
|
|
9187
|
-
readonly manufacturer: string | null;
|
|
9188
|
-
readonly name: string | null;
|
|
9189
|
-
onstatechange: ((this: MIDIPort, ev: Event) => any) | null;
|
|
9190
|
-
readonly state: MIDIPortDeviceState;
|
|
9191
|
-
readonly type: MIDIPortType;
|
|
9192
|
-
readonly version: string | null;
|
|
9193
|
-
close(): Promise<MIDIPort>;
|
|
9194
|
-
open(): Promise<MIDIPort>;
|
|
9195
|
-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9196
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
9197
|
-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
9198
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
9199
|
-
}
|
|
9200
|
-
|
|
9201
|
-
declare var MIDIPort: {
|
|
9202
|
-
prototype: MIDIPort;
|
|
9203
|
-
new(): MIDIPort;
|
|
9204
|
-
};
|
|
9205
|
-
|
|
9206
9112
|
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
|
|
9207
9113
|
}
|
|
9208
9114
|
|
|
@@ -9924,8 +9830,6 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
|
|
|
9924
9830
|
canShare(data?: ShareData): boolean;
|
|
9925
9831
|
getGamepads(): (Gamepad | null)[];
|
|
9926
9832
|
/** Available only in secure contexts. */
|
|
9927
|
-
requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
|
|
9928
|
-
/** Available only in secure contexts. */
|
|
9929
9833
|
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
|
|
9930
9834
|
sendBeacon(url: string | URL, data?: BodyInit | null): boolean;
|
|
9931
9835
|
/** Available only in secure contexts. */
|
|
@@ -16768,8 +16672,8 @@ interface WindowOrWorkerGlobalScope {
|
|
|
16768
16672
|
readonly performance: Performance;
|
|
16769
16673
|
atob(data: string): string;
|
|
16770
16674
|
btoa(data: string): string;
|
|
16771
|
-
clearInterval(id
|
|
16772
|
-
clearTimeout(id
|
|
16675
|
+
clearInterval(id: number | undefined): void;
|
|
16676
|
+
clearTimeout(id: number | undefined): void;
|
|
16773
16677
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16774
16678
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16775
16679
|
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
@@ -16841,6 +16745,7 @@ declare var WritableStream: {
|
|
|
16841
16745
|
|
|
16842
16746
|
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
|
|
16843
16747
|
interface WritableStreamDefaultController {
|
|
16748
|
+
readonly signal: AbortSignal;
|
|
16844
16749
|
error(e?: any): void;
|
|
16845
16750
|
}
|
|
16846
16751
|
|
|
@@ -17504,7 +17409,6 @@ interface HTMLElementTagNameMap {
|
|
|
17504
17409
|
"option": HTMLOptionElement;
|
|
17505
17410
|
"output": HTMLOutputElement;
|
|
17506
17411
|
"p": HTMLParagraphElement;
|
|
17507
|
-
"param": HTMLParamElement;
|
|
17508
17412
|
"picture": HTMLPictureElement;
|
|
17509
17413
|
"pre": HTMLPreElement;
|
|
17510
17414
|
"progress": HTMLProgressElement;
|
|
@@ -17546,12 +17450,34 @@ interface HTMLElementTagNameMap {
|
|
|
17546
17450
|
}
|
|
17547
17451
|
|
|
17548
17452
|
interface HTMLElementDeprecatedTagNameMap {
|
|
17453
|
+
"acronym": HTMLElement;
|
|
17454
|
+
"applet": HTMLUnknownElement;
|
|
17455
|
+
"basefont": HTMLElement;
|
|
17456
|
+
"bgsound": HTMLUnknownElement;
|
|
17457
|
+
"big": HTMLElement;
|
|
17458
|
+
"blink": HTMLUnknownElement;
|
|
17459
|
+
"center": HTMLElement;
|
|
17549
17460
|
"dir": HTMLDirectoryElement;
|
|
17550
17461
|
"font": HTMLFontElement;
|
|
17551
17462
|
"frame": HTMLFrameElement;
|
|
17552
17463
|
"frameset": HTMLFrameSetElement;
|
|
17464
|
+
"isindex": HTMLUnknownElement;
|
|
17465
|
+
"keygen": HTMLUnknownElement;
|
|
17553
17466
|
"listing": HTMLPreElement;
|
|
17554
17467
|
"marquee": HTMLMarqueeElement;
|
|
17468
|
+
"menuitem": HTMLElement;
|
|
17469
|
+
"multicol": HTMLUnknownElement;
|
|
17470
|
+
"nextid": HTMLUnknownElement;
|
|
17471
|
+
"nobr": HTMLElement;
|
|
17472
|
+
"noembed": HTMLElement;
|
|
17473
|
+
"noframes": HTMLElement;
|
|
17474
|
+
"param": HTMLParamElement;
|
|
17475
|
+
"plaintext": HTMLElement;
|
|
17476
|
+
"rb": HTMLElement;
|
|
17477
|
+
"rtc": HTMLElement;
|
|
17478
|
+
"spacer": HTMLUnknownElement;
|
|
17479
|
+
"strike": HTMLElement;
|
|
17480
|
+
"tt": HTMLElement;
|
|
17555
17481
|
"xmp": HTMLPreElement;
|
|
17556
17482
|
}
|
|
17557
17483
|
|
|
@@ -18054,8 +17980,8 @@ declare var origin: string;
|
|
|
18054
17980
|
declare var performance: Performance;
|
|
18055
17981
|
declare function atob(data: string): string;
|
|
18056
17982
|
declare function btoa(data: string): string;
|
|
18057
|
-
declare function clearInterval(id
|
|
18058
|
-
declare function clearTimeout(id
|
|
17983
|
+
declare function clearInterval(id: number | undefined): void;
|
|
17984
|
+
declare function clearTimeout(id: number | undefined): void;
|
|
18059
17985
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
18060
17986
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
18061
17987
|
declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
@@ -18104,7 +18030,7 @@ type GLuint64 = number;
|
|
|
18104
18030
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
18105
18031
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
18106
18032
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
18107
|
-
type HeadersInit = string
|
|
18033
|
+
type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
18108
18034
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
18109
18035
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
18110
18036
|
type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";
|
|
@@ -18192,9 +18118,6 @@ type KeyType = "private" | "public" | "secret";
|
|
|
18192
18118
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
18193
18119
|
type LineAlignSetting = "center" | "end" | "start";
|
|
18194
18120
|
type LockMode = "exclusive" | "shared";
|
|
18195
|
-
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
18196
|
-
type MIDIPortDeviceState = "connected" | "disconnected";
|
|
18197
|
-
type MIDIPortType = "input" | "output";
|
|
18198
18121
|
type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
18199
18122
|
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
|
|
18200
18123
|
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]>;
|