@types/web 0.0.88 → 0.0.90
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 +19 -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.90 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.90.
|
package/index.d.ts
CHANGED
|
@@ -5749,9 +5749,9 @@ interface GlobalEventHandlersEventMap {
|
|
|
5749
5749
|
"compositionstart": CompositionEvent;
|
|
5750
5750
|
"compositionupdate": CompositionEvent;
|
|
5751
5751
|
"contextmenu": MouseEvent;
|
|
5752
|
-
"copy":
|
|
5752
|
+
"copy": ClipboardEvent;
|
|
5753
5753
|
"cuechange": Event;
|
|
5754
|
-
"cut":
|
|
5754
|
+
"cut": ClipboardEvent;
|
|
5755
5755
|
"dblclick": MouseEvent;
|
|
5756
5756
|
"drag": DragEvent;
|
|
5757
5757
|
"dragend": DragEvent;
|
|
@@ -5786,7 +5786,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5786
5786
|
"mouseout": MouseEvent;
|
|
5787
5787
|
"mouseover": MouseEvent;
|
|
5788
5788
|
"mouseup": MouseEvent;
|
|
5789
|
-
"paste":
|
|
5789
|
+
"paste": ClipboardEvent;
|
|
5790
5790
|
"pause": Event;
|
|
5791
5791
|
"play": Event;
|
|
5792
5792
|
"playing": Event;
|
|
@@ -5872,9 +5872,9 @@ interface GlobalEventHandlers {
|
|
|
5872
5872
|
* @param ev The mouse event.
|
|
5873
5873
|
*/
|
|
5874
5874
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5875
|
-
oncopy: ((this: GlobalEventHandlers, ev:
|
|
5875
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
5876
5876
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5877
|
-
oncut: ((this: GlobalEventHandlers, ev:
|
|
5877
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
5878
5878
|
/**
|
|
5879
5879
|
* Fires when the user double-clicks the object.
|
|
5880
5880
|
* @param ev The mouse event.
|
|
@@ -6004,7 +6004,7 @@ interface GlobalEventHandlers {
|
|
|
6004
6004
|
* @param ev The mouse event.
|
|
6005
6005
|
*/
|
|
6006
6006
|
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
6007
|
-
onpaste: ((this: GlobalEventHandlers, ev:
|
|
6007
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
6008
6008
|
/**
|
|
6009
6009
|
* Occurs when playback is paused.
|
|
6010
6010
|
* @param ev The event.
|
|
@@ -14880,6 +14880,13 @@ interface WEBGL_compressed_texture_etc1 {
|
|
|
14880
14880
|
readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
|
|
14881
14881
|
}
|
|
14882
14882
|
|
|
14883
|
+
interface WEBGL_compressed_texture_pvrtc {
|
|
14884
|
+
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
|
|
14885
|
+
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
|
|
14886
|
+
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: 0x8C02;
|
|
14887
|
+
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: 0x8C03;
|
|
14888
|
+
}
|
|
14889
|
+
|
|
14883
14890
|
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
|
|
14884
14891
|
interface WEBGL_compressed_texture_s3tc {
|
|
14885
14892
|
readonly COMPRESSED_RGB_S3TC_DXT1_EXT: 0x83F0;
|
|
@@ -16392,6 +16399,7 @@ interface WebGLRenderingContextBase {
|
|
|
16392
16399
|
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
|
|
16393
16400
|
getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
|
|
16394
16401
|
getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
|
|
16402
|
+
getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;
|
|
16395
16403
|
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
16396
16404
|
getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
|
|
16397
16405
|
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
@@ -18206,9 +18214,9 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
|
18206
18214
|
* @param ev The mouse event.
|
|
18207
18215
|
*/
|
|
18208
18216
|
declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
|
|
18209
|
-
declare var oncopy: ((this: Window, ev:
|
|
18217
|
+
declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;
|
|
18210
18218
|
declare var oncuechange: ((this: Window, ev: Event) => any) | null;
|
|
18211
|
-
declare var oncut: ((this: Window, ev:
|
|
18219
|
+
declare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null;
|
|
18212
18220
|
/**
|
|
18213
18221
|
* Fires when the user double-clicks the object.
|
|
18214
18222
|
* @param ev The mouse event.
|
|
@@ -18338,7 +18346,7 @@ declare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;
|
|
|
18338
18346
|
* @param ev The mouse event.
|
|
18339
18347
|
*/
|
|
18340
18348
|
declare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;
|
|
18341
|
-
declare var onpaste: ((this: Window, ev:
|
|
18349
|
+
declare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null;
|
|
18342
18350
|
/**
|
|
18343
18351
|
* Occurs when playback is paused.
|
|
18344
18352
|
* @param ev The event.
|
|
@@ -18604,7 +18612,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
18604
18612
|
type IDBRequestReadyState = "done" | "pending";
|
|
18605
18613
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
18606
18614
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
18607
|
-
type ImageOrientation = "flipY" | "
|
|
18615
|
+
type ImageOrientation = "flipY" | "from-image";
|
|
18608
18616
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
18609
18617
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|
|
18610
18618
|
type IterationCompositeOperation = "accumulate" | "replace";
|
|
@@ -18685,7 +18693,7 @@ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
|
|
|
18685
18693
|
type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
|
|
18686
18694
|
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
|
|
18687
18695
|
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|
|
18688
|
-
type ScrollBehavior = "auto" | "smooth";
|
|
18696
|
+
type ScrollBehavior = "auto" | "instant" | "smooth";
|
|
18689
18697
|
type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
|
|
18690
18698
|
type ScrollRestoration = "auto" | "manual";
|
|
18691
18699
|
type ScrollSetting = "" | "up";
|