@types/serviceworker 0.0.193 → 0.0.195

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 CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.193 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.193.
31
+ You can read what changed in version 0.0.195 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.195.
package/index.d.ts CHANGED
@@ -9316,7 +9316,7 @@ interface TransformStreamDefaultController<O = any> {
9316
9316
  *
9317
9317
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9318
9318
  */
9319
- enqueue(chunk?: O): void;
9319
+ enqueue(chunk: O): void;
9320
9320
  /**
9321
9321
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9322
9322
  *
@@ -12769,7 +12769,7 @@ interface WritableStreamDefaultWriter<W = any> {
12769
12769
  *
12770
12770
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12771
12771
  */
12772
- write(chunk?: W): Promise<void>;
12772
+ write(chunk: W): Promise<void>;
12773
12773
  }
12774
12774
 
12775
12775
  declare var WritableStreamDefaultWriter: {
@@ -12900,7 +12900,7 @@ declare namespace WebAssembly {
12900
12900
 
12901
12901
  var Module: {
12902
12902
  prototype: Module;
12903
- new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12903
+ new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
12904
12904
  /**
12905
12905
  * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
12906
12906
  *
@@ -13051,16 +13051,16 @@ declare namespace WebAssembly {
13051
13051
  type ValueType = keyof ValueTypeMap;
13052
13052
  var JSTag: Tag;
13053
13053
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13054
- function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13054
+ function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13055
13055
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
13056
13056
  function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
13057
13057
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13058
- function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13058
+ function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13059
13059
  function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
13060
13060
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
13061
13061
  function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13062
13062
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13063
- function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13063
+ function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
13064
13064
  }
13065
13065
 
13066
13066
  /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13499,7 +13499,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
13499
13499
  type ClientTypes = "all" | "sharedworker" | "window" | "worker";
13500
13500
  type ColorGamut = "p3" | "rec2020" | "srgb";
13501
13501
  type ColorSpaceConversion = "default" | "none";
13502
- type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13502
+ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
13503
13503
  type CookieSameSite = "lax" | "none" | "strict";
13504
13504
  type DocumentVisibilityState = "hidden" | "visible";
13505
13505
  type EndingType = "native" | "transparent";
@@ -13571,7 +13571,7 @@ type ReadableStreamType = "bytes";
13571
13571
  type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
13572
13572
  type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
13573
13573
  type RequestCredentials = "include" | "omit" | "same-origin";
13574
- type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13574
+ type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13575
13575
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
13576
13576
  type RequestPriority = "auto" | "high" | "low";
13577
13577
  type RequestRedirect = "error" | "follow" | "manual";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.193",
3
+ "version": "0.0.195",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {
@@ -12897,7 +12897,7 @@ declare namespace WebAssembly {
12897
12897
 
12898
12898
  var Module: {
12899
12899
  prototype: Module;
12900
- new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12900
+ new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
12901
12901
  /**
12902
12902
  * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
12903
12903
  *
@@ -13048,16 +13048,16 @@ declare namespace WebAssembly {
13048
13048
  type ValueType = keyof ValueTypeMap;
13049
13049
  var JSTag: Tag;
13050
13050
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051
- function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13051
+ function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13052
13052
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
13053
13053
  function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
13054
13054
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055
- function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13055
+ function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13056
13056
  function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
13057
13057
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
13058
13058
  function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13059
13059
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060
- function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13060
+ function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
13061
13061
  }
13062
13062
 
13063
13063
  /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13496,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
13496
13496
  type ClientTypes = "all" | "sharedworker" | "window" | "worker";
13497
13497
  type ColorGamut = "p3" | "rec2020" | "srgb";
13498
13498
  type ColorSpaceConversion = "default" | "none";
13499
- type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13499
+ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
13500
13500
  type CookieSameSite = "lax" | "none" | "strict";
13501
13501
  type DocumentVisibilityState = "hidden" | "visible";
13502
13502
  type EndingType = "native" | "transparent";
@@ -13568,7 +13568,7 @@ type ReadableStreamType = "bytes";
13568
13568
  type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
13569
13569
  type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
13570
13570
  type RequestCredentials = "include" | "omit" | "same-origin";
13571
- type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13571
+ type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13572
13572
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
13573
13573
  type RequestPriority = "auto" | "high" | "low";
13574
13574
  type RequestRedirect = "error" | "follow" | "manual";
package/ts5.6/index.d.ts CHANGED
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {
@@ -12897,7 +12897,7 @@ declare namespace WebAssembly {
12897
12897
 
12898
12898
  var Module: {
12899
12899
  prototype: Module;
12900
- new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12900
+ new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
12901
12901
  /**
12902
12902
  * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
12903
12903
  *
@@ -13048,16 +13048,16 @@ declare namespace WebAssembly {
13048
13048
  type ValueType = keyof ValueTypeMap;
13049
13049
  var JSTag: Tag;
13050
13050
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051
- function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13051
+ function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13052
13052
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
13053
13053
  function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
13054
13054
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055
- function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13055
+ function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13056
13056
  function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
13057
13057
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
13058
13058
  function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13059
13059
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060
- function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13060
+ function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
13061
13061
  }
13062
13062
 
13063
13063
  /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13496,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
13496
13496
  type ClientTypes = "all" | "sharedworker" | "window" | "worker";
13497
13497
  type ColorGamut = "p3" | "rec2020" | "srgb";
13498
13498
  type ColorSpaceConversion = "default" | "none";
13499
- type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13499
+ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
13500
13500
  type CookieSameSite = "lax" | "none" | "strict";
13501
13501
  type DocumentVisibilityState = "hidden" | "visible";
13502
13502
  type EndingType = "native" | "transparent";
@@ -13568,7 +13568,7 @@ type ReadableStreamType = "bytes";
13568
13568
  type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
13569
13569
  type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
13570
13570
  type RequestCredentials = "include" | "omit" | "same-origin";
13571
- type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13571
+ type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13572
13572
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
13573
13573
  type RequestPriority = "auto" | "high" | "low";
13574
13574
  type RequestRedirect = "error" | "follow" | "manual";
package/ts5.9/index.d.ts CHANGED
@@ -9313,7 +9313,7 @@ interface TransformStreamDefaultController<O = any> {
9313
9313
  *
9314
9314
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)
9315
9315
  */
9316
- enqueue(chunk?: O): void;
9316
+ enqueue(chunk: O): void;
9317
9317
  /**
9318
9318
  * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream. Any further interactions with it will fail with the given error message, and any chunks in the queue will be discarded.
9319
9319
  *
@@ -12766,7 +12766,7 @@ interface WritableStreamDefaultWriter<W = any> {
12766
12766
  *
12767
12767
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
12768
12768
  */
12769
- write(chunk?: W): Promise<void>;
12769
+ write(chunk: W): Promise<void>;
12770
12770
  }
12771
12771
 
12772
12772
  declare var WritableStreamDefaultWriter: {
@@ -12897,7 +12897,7 @@ declare namespace WebAssembly {
12897
12897
 
12898
12898
  var Module: {
12899
12899
  prototype: Module;
12900
- new(bytes: BufferSource, options?: WebAssemblyCompileOptions): Module;
12900
+ new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
12901
12901
  /**
12902
12902
  * The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
12903
12903
  *
@@ -13048,16 +13048,16 @@ declare namespace WebAssembly {
13048
13048
  type ValueType = keyof ValueTypeMap;
13049
13049
  var JSTag: Tag;
13050
13050
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
13051
- function compile(bytes: BufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13051
+ function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
13052
13052
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
13053
13053
  function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
13054
13054
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
13055
- function instantiate(bytes: BufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13055
+ function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13056
13056
  function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
13057
13057
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
13058
13058
  function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
13059
13059
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
13060
- function validate(bytes: BufferSource, options?: WebAssemblyCompileOptions): boolean;
13060
+ function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
13061
13061
  }
13062
13062
 
13063
13063
  /** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
@@ -13496,7 +13496,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
13496
13496
  type ClientTypes = "all" | "sharedworker" | "window" | "worker";
13497
13497
  type ColorGamut = "p3" | "rec2020" | "srgb";
13498
13498
  type ColorSpaceConversion = "default" | "none";
13499
- type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
13499
+ type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
13500
13500
  type CookieSameSite = "lax" | "none" | "strict";
13501
13501
  type DocumentVisibilityState = "hidden" | "visible";
13502
13502
  type EndingType = "native" | "transparent";
@@ -13568,7 +13568,7 @@ type ReadableStreamType = "bytes";
13568
13568
  type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
13569
13569
  type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
13570
13570
  type RequestCredentials = "include" | "omit" | "same-origin";
13571
- type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13571
+ type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
13572
13572
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
13573
13573
  type RequestPriority = "auto" | "high" | "low";
13574
13574
  type RequestRedirect = "error" | "follow" | "manual";