@types/web 0.0.55 → 0.0.56
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 +5 -5
- 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.56 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.56.
|
package/index.d.ts
CHANGED
|
@@ -3584,6 +3584,7 @@ declare var ClipboardEvent: {
|
|
|
3584
3584
|
new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;
|
|
3585
3585
|
};
|
|
3586
3586
|
|
|
3587
|
+
/** Available only in secure contexts. */
|
|
3587
3588
|
interface ClipboardItem {
|
|
3588
3589
|
readonly types: ReadonlyArray<string>;
|
|
3589
3590
|
getType(type: string): Promise<Blob>;
|
|
@@ -3591,7 +3592,7 @@ interface ClipboardItem {
|
|
|
3591
3592
|
|
|
3592
3593
|
declare var ClipboardItem: {
|
|
3593
3594
|
prototype: ClipboardItem;
|
|
3594
|
-
new(items: Record<string,
|
|
3595
|
+
new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
|
|
3595
3596
|
};
|
|
3596
3597
|
|
|
3597
3598
|
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
|
|
@@ -10470,7 +10471,7 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming {
|
|
|
10470
10471
|
readonly loadEventEnd: DOMHighResTimeStamp;
|
|
10471
10472
|
readonly loadEventStart: DOMHighResTimeStamp;
|
|
10472
10473
|
readonly redirectCount: number;
|
|
10473
|
-
readonly type:
|
|
10474
|
+
readonly type: NavigationTimingType;
|
|
10474
10475
|
readonly unloadEventEnd: DOMHighResTimeStamp;
|
|
10475
10476
|
readonly unloadEventStart: DOMHighResTimeStamp;
|
|
10476
10477
|
toJSON(): any;
|
|
@@ -17954,8 +17955,7 @@ type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
|
17954
17955
|
type COSEAlgorithmIdentifier = number;
|
|
17955
17956
|
type CSSNumberish = number;
|
|
17956
17957
|
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap;
|
|
17957
|
-
type ClipboardItemData = Promise<
|
|
17958
|
-
type ClipboardItemDataType = string | Blob;
|
|
17958
|
+
type ClipboardItemData = Promise<string | Blob>;
|
|
17959
17959
|
type ClipboardItems = ClipboardItem[];
|
|
17960
17960
|
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
|
|
17961
17961
|
type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
|
|
@@ -18081,7 +18081,7 @@ type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
|
18081
18081
|
type MediaSessionAction = "hangup" | "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop" | "togglecamera" | "togglemicrophone";
|
|
18082
18082
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
18083
18083
|
type MediaStreamTrackState = "ended" | "live";
|
|
18084
|
-
type
|
|
18084
|
+
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
18085
18085
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
18086
18086
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
18087
18087
|
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|