@types/web 0.0.126 → 0.0.127
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 +2 -0
- 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.127 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.127.
|
package/index.d.ts
CHANGED
|
@@ -1669,6 +1669,7 @@ interface RequestInit {
|
|
|
1669
1669
|
method?: string;
|
|
1670
1670
|
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
|
|
1671
1671
|
mode?: RequestMode;
|
|
1672
|
+
priority?: RequestPriority;
|
|
1672
1673
|
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
|
|
1673
1674
|
redirect?: RequestRedirect;
|
|
1674
1675
|
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
|
|
@@ -28306,6 +28307,7 @@ type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-
|
|
|
28306
28307
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
28307
28308
|
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
28308
28309
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
28310
|
+
type RequestPriority = "auto" | "high" | "low";
|
|
28309
28311
|
type RequestRedirect = "error" | "follow" | "manual";
|
|
28310
28312
|
type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
|
|
28311
28313
|
type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
|