@types/web 0.0.121 → 0.0.123
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 +21 -15
- 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.123 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.123.
|
package/index.d.ts
CHANGED
|
@@ -4512,6 +4512,7 @@ interface CSSStyleDeclaration {
|
|
|
4512
4512
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */
|
|
4513
4513
|
shapeOutside: string;
|
|
4514
4514
|
shapeRendering: string;
|
|
4515
|
+
speak: string;
|
|
4515
4516
|
stopColor: string;
|
|
4516
4517
|
stopOpacity: string;
|
|
4517
4518
|
stroke: string;
|
|
@@ -4569,6 +4570,8 @@ interface CSSStyleDeclaration {
|
|
|
4569
4570
|
textUnderlineOffset: string;
|
|
4570
4571
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) */
|
|
4571
4572
|
textUnderlinePosition: string;
|
|
4573
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */
|
|
4574
|
+
textWrap: string;
|
|
4572
4575
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
4573
4576
|
top: string;
|
|
4574
4577
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -8344,7 +8347,11 @@ interface FileReader extends EventTarget {
|
|
|
8344
8347
|
abort(): void;
|
|
8345
8348
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsArrayBuffer) */
|
|
8346
8349
|
readAsArrayBuffer(blob: Blob): void;
|
|
8347
|
-
/**
|
|
8350
|
+
/**
|
|
8351
|
+
* @deprecated
|
|
8352
|
+
*
|
|
8353
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsBinaryString)
|
|
8354
|
+
*/
|
|
8348
8355
|
readAsBinaryString(blob: Blob): void;
|
|
8349
8356
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL) */
|
|
8350
8357
|
readAsDataURL(blob: Blob): void;
|
|
@@ -8689,8 +8696,6 @@ interface Gamepad {
|
|
|
8689
8696
|
readonly buttons: ReadonlyArray<GamepadButton>;
|
|
8690
8697
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/connected) */
|
|
8691
8698
|
readonly connected: boolean;
|
|
8692
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/hapticActuators) */
|
|
8693
|
-
readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;
|
|
8694
8699
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/id) */
|
|
8695
8700
|
readonly id: string;
|
|
8696
8701
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/index) */
|
|
@@ -13144,6 +13149,7 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
13144
13149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
13145
13150
|
*/
|
|
13146
13151
|
readonly content: DocumentFragment;
|
|
13152
|
+
shadowRootMode: string;
|
|
13147
13153
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13148
13154
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13149
13155
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -14667,7 +14673,7 @@ declare var MIDIConnectionEvent: {
|
|
|
14667
14673
|
};
|
|
14668
14674
|
|
|
14669
14675
|
interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
14670
|
-
"midimessage":
|
|
14676
|
+
"midimessage": MIDIMessageEvent;
|
|
14671
14677
|
}
|
|
14672
14678
|
|
|
14673
14679
|
/**
|
|
@@ -14677,7 +14683,7 @@ interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
|
14677
14683
|
*/
|
|
14678
14684
|
interface MIDIInput extends MIDIPort {
|
|
14679
14685
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */
|
|
14680
|
-
onmidimessage: ((this: MIDIInput, ev:
|
|
14686
|
+
onmidimessage: ((this: MIDIInput, ev: MIDIMessageEvent) => any) | null;
|
|
14681
14687
|
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
14682
14688
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
14683
14689
|
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -14752,7 +14758,7 @@ declare var MIDIOutputMap: {
|
|
|
14752
14758
|
};
|
|
14753
14759
|
|
|
14754
14760
|
interface MIDIPortEventMap {
|
|
14755
|
-
"statechange":
|
|
14761
|
+
"statechange": MIDIConnectionEvent;
|
|
14756
14762
|
}
|
|
14757
14763
|
|
|
14758
14764
|
/**
|
|
@@ -14770,7 +14776,7 @@ interface MIDIPort extends EventTarget {
|
|
|
14770
14776
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/name) */
|
|
14771
14777
|
readonly name: string | null;
|
|
14772
14778
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */
|
|
14773
|
-
onstatechange: ((this: MIDIPort, ev:
|
|
14779
|
+
onstatechange: ((this: MIDIPort, ev: MIDIConnectionEvent) => any) | null;
|
|
14774
14780
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state) */
|
|
14775
14781
|
readonly state: MIDIPortDeviceState;
|
|
14776
14782
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type) */
|
|
@@ -26743,11 +26749,11 @@ declare namespace WebAssembly {
|
|
|
26743
26749
|
var Module: {
|
|
26744
26750
|
prototype: Module;
|
|
26745
26751
|
new(bytes: BufferSource): Module;
|
|
26746
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
26752
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/customSections_static) */
|
|
26747
26753
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
26748
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
26754
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/exports_static) */
|
|
26749
26755
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
26750
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
26756
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/imports_static) */
|
|
26751
26757
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
26752
26758
|
};
|
|
26753
26759
|
|
|
@@ -26828,16 +26834,16 @@ declare namespace WebAssembly {
|
|
|
26828
26834
|
type Imports = Record<string, ModuleImports>;
|
|
26829
26835
|
type ModuleImports = Record<string, ImportValue>;
|
|
26830
26836
|
type ValueType = keyof ValueTypeMap;
|
|
26831
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
26837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compile_static) */
|
|
26832
26838
|
function compile(bytes: BufferSource): Promise<Module>;
|
|
26833
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
26839
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compileStreaming_static) */
|
|
26834
26840
|
function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;
|
|
26835
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
26841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiate_static) */
|
|
26836
26842
|
function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
26837
26843
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
26838
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
26844
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiateStreaming_static) */
|
|
26839
26845
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
26840
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
26846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/validate_static) */
|
|
26841
26847
|
function validate(bytes: BufferSource): boolean;
|
|
26842
26848
|
}
|
|
26843
26849
|
|