@types/web 0.0.346 → 0.0.347
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 +6 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +6 -6
- package/ts5.6/index.d.ts +6 -6
- package/ts5.9/index.d.ts +6 -6
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.347 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.347.
|
package/index.d.ts
CHANGED
|
@@ -42849,7 +42849,7 @@ declare namespace WebAssembly {
|
|
|
42849
42849
|
|
|
42850
42850
|
var Module: {
|
|
42851
42851
|
prototype: Module;
|
|
42852
|
-
new(bytes:
|
|
42852
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42853
42853
|
/**
|
|
42854
42854
|
* 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.
|
|
42855
42855
|
*
|
|
@@ -43000,16 +43000,16 @@ declare namespace WebAssembly {
|
|
|
43000
43000
|
type ValueType = keyof ValueTypeMap;
|
|
43001
43001
|
var JSTag: Tag;
|
|
43002
43002
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
43003
|
-
function compile(bytes:
|
|
43003
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43004
43004
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
43005
43005
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43006
43006
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
43007
|
-
function instantiate(bytes:
|
|
43007
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43008
43008
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
43009
43009
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
43010
43010
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43011
43011
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
43012
|
-
function validate(bytes:
|
|
43012
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
43013
43013
|
}
|
|
43014
43014
|
|
|
43015
43015
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -44517,7 +44517,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44517
44517
|
type ColorSpaceConversion = "default" | "none";
|
|
44518
44518
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44519
44519
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44520
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
44520
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44521
44521
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44522
44522
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44523
44523
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
@@ -44668,7 +44668,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44668
44668
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44669
44669
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44670
44670
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44671
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44671
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44672
44672
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44673
44673
|
type RequestPriority = "auto" | "high" | "low";
|
|
44674
44674
|
type RequestRedirect = "error" | "follow" | "manual";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -42823,7 +42823,7 @@ declare namespace WebAssembly {
|
|
|
42823
42823
|
|
|
42824
42824
|
var Module: {
|
|
42825
42825
|
prototype: Module;
|
|
42826
|
-
new(bytes:
|
|
42826
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42827
42827
|
/**
|
|
42828
42828
|
* 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.
|
|
42829
42829
|
*
|
|
@@ -42974,16 +42974,16 @@ declare namespace WebAssembly {
|
|
|
42974
42974
|
type ValueType = keyof ValueTypeMap;
|
|
42975
42975
|
var JSTag: Tag;
|
|
42976
42976
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
42977
|
-
function compile(bytes:
|
|
42977
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
42978
42978
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
42979
42979
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
42980
42980
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
42981
|
-
function instantiate(bytes:
|
|
42981
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
42982
42982
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
42983
42983
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
42984
42984
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
42985
42985
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
42986
|
-
function validate(bytes:
|
|
42986
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
42987
42987
|
}
|
|
42988
42988
|
|
|
42989
42989
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -44491,7 +44491,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44491
44491
|
type ColorSpaceConversion = "default" | "none";
|
|
44492
44492
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44493
44493
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44494
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
44494
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44495
44495
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44496
44496
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44497
44497
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
@@ -44642,7 +44642,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44642
44642
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44643
44643
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44644
44644
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44645
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44645
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44646
44646
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44647
44647
|
type RequestPriority = "auto" | "high" | "low";
|
|
44648
44648
|
type RequestRedirect = "error" | "follow" | "manual";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -42846,7 +42846,7 @@ declare namespace WebAssembly {
|
|
|
42846
42846
|
|
|
42847
42847
|
var Module: {
|
|
42848
42848
|
prototype: Module;
|
|
42849
|
-
new(bytes:
|
|
42849
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42850
42850
|
/**
|
|
42851
42851
|
* 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.
|
|
42852
42852
|
*
|
|
@@ -42997,16 +42997,16 @@ declare namespace WebAssembly {
|
|
|
42997
42997
|
type ValueType = keyof ValueTypeMap;
|
|
42998
42998
|
var JSTag: Tag;
|
|
42999
42999
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
43000
|
-
function compile(bytes:
|
|
43000
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43001
43001
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
43002
43002
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43003
43003
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
43004
|
-
function instantiate(bytes:
|
|
43004
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43005
43005
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
43006
43006
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
43007
43007
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43008
43008
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
43009
|
-
function validate(bytes:
|
|
43009
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
43010
43010
|
}
|
|
43011
43011
|
|
|
43012
43012
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -44514,7 +44514,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44514
44514
|
type ColorSpaceConversion = "default" | "none";
|
|
44515
44515
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44516
44516
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44517
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
44517
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44518
44518
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44519
44519
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44520
44520
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
@@ -44665,7 +44665,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44665
44665
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44666
44666
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44667
44667
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44668
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44668
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44669
44669
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44670
44670
|
type RequestPriority = "auto" | "high" | "low";
|
|
44671
44671
|
type RequestRedirect = "error" | "follow" | "manual";
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -42846,7 +42846,7 @@ declare namespace WebAssembly {
|
|
|
42846
42846
|
|
|
42847
42847
|
var Module: {
|
|
42848
42848
|
prototype: Module;
|
|
42849
|
-
new(bytes:
|
|
42849
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42850
42850
|
/**
|
|
42851
42851
|
* 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.
|
|
42852
42852
|
*
|
|
@@ -42997,16 +42997,16 @@ declare namespace WebAssembly {
|
|
|
42997
42997
|
type ValueType = keyof ValueTypeMap;
|
|
42998
42998
|
var JSTag: Tag;
|
|
42999
42999
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
43000
|
-
function compile(bytes:
|
|
43000
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43001
43001
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
43002
43002
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43003
43003
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
43004
|
-
function instantiate(bytes:
|
|
43004
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43005
43005
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
43006
43006
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
43007
43007
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43008
43008
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
43009
|
-
function validate(bytes:
|
|
43009
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
43010
43010
|
}
|
|
43011
43011
|
|
|
43012
43012
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -44514,7 +44514,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44514
44514
|
type ColorSpaceConversion = "default" | "none";
|
|
44515
44515
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44516
44516
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44517
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
44517
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44518
44518
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44519
44519
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44520
44520
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
@@ -44665,7 +44665,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44665
44665
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44666
44666
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44667
44667
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44668
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44668
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44669
44669
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44670
44670
|
type RequestPriority = "auto" | "high" | "low";
|
|
44671
44671
|
type RequestRedirect = "error" | "follow" | "manual";
|