@types/sharedworker 0.0.224 → 0.0.226

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
@@ -17,6 +17,7 @@ To use `@types/sharedworker` you need to do two things:
17
17
  1. **Without "lib"** - You will need to add `"lib": []`. The value you want to add inside your lib should correlate to your [`"target"`](https://www.typescriptlang.org/tsconfig#target). For example if you had `"target": "es2017"`, then you would add `"lib": ["es2017"]`
18
18
  1. **With "lib"** - You should remove `"dom"`.
19
19
 
20
+ 1. If you are using TypeScript 6.0+, set [`libReplacement`](https://www.typescriptlang.org/tsconfig/#libReplacement) to `true` in your `tsconfig.json`.
20
21
 
21
22
  If you'd like to ensure that the DOM types are never accidentally included, you can use [@orta/types-noop](https://www.npmjs.com/package/@orta/type-noops) in TypeScript 4.5+.
22
23
 
@@ -28,4 +29,4 @@ This project does not respect semantic versioning as almost every change could p
28
29
 
29
30
  ## Deploy Metadata
30
31
 
31
- You can read what changed in version 0.0.224 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.224.
32
+ You can read what changed in version 0.0.226 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.226.
package/index.d.ts CHANGED
@@ -1499,9 +1499,29 @@ declare var CSSKeywordValue: {
1499
1499
  new(value: string): CSSKeywordValue;
1500
1500
  };
1501
1501
 
1502
+ /**
1503
+ * The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
1504
+ *
1505
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
1506
+ */
1502
1507
  interface CSSMathClamp extends CSSMathValue {
1508
+ /**
1509
+ * The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
1510
+ *
1511
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
1512
+ */
1503
1513
  readonly lower: CSSNumericValue;
1514
+ /**
1515
+ * The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
1516
+ *
1517
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
1518
+ */
1504
1519
  readonly upper: CSSNumericValue;
1520
+ /**
1521
+ * The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
1522
+ *
1523
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
1524
+ */
1505
1525
  readonly value: CSSNumericValue;
1506
1526
  }
1507
1527
 
@@ -2012,13 +2032,13 @@ declare var CSSTranslate: {
2012
2032
  };
2013
2033
 
2014
2034
  /**
2015
- * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
2035
+ * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
2016
2036
  *
2017
2037
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
2018
2038
  */
2019
2039
  interface CSSUnitValue extends CSSNumericValue {
2020
2040
  /**
2021
- * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
2041
+ * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
2022
2042
  *
2023
2043
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
2024
2044
  */
@@ -2383,6 +2403,8 @@ interface CanvasTextDrawingStyles {
2383
2403
  fontStretch: CanvasFontStretch;
2384
2404
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
2385
2405
  fontVariantCaps: CanvasFontVariantCaps;
2406
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
2407
+ lang: string;
2386
2408
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
2387
2409
  letterSpacing: string;
2388
2410
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
@@ -3520,7 +3542,7 @@ interface Event {
3520
3542
  */
3521
3543
  readonly eventPhase: number;
3522
3544
  /**
3523
- * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
3545
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
3524
3546
  *
3525
3547
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
3526
3548
  */
@@ -5313,8 +5335,12 @@ interface GPUSupportedLimits {
5313
5335
  readonly maxSamplersPerShaderStage: number;
5314
5336
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5315
5337
  readonly maxStorageBufferBindingSize: number;
5338
+ readonly maxStorageBuffersInFragmentStage: number;
5339
+ readonly maxStorageBuffersInVertexStage: number;
5316
5340
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5317
5341
  readonly maxStorageBuffersPerShaderStage: number;
5342
+ readonly maxStorageTexturesInFragmentStage: number;
5343
+ readonly maxStorageTexturesInVertexStage: number;
5318
5344
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5319
5345
  readonly maxStorageTexturesPerShaderStage: number;
5320
5346
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
@@ -6897,7 +6923,7 @@ interface OffscreenCanvas extends EventTarget {
6897
6923
  getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
6898
6924
  getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
6899
6925
  /**
6900
- * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.
6926
+ * The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
6901
6927
  *
6902
6928
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
6903
6929
  */
@@ -6928,6 +6954,18 @@ declare var OffscreenCanvasRenderingContext2D: {
6928
6954
  new(): OffscreenCanvasRenderingContext2D;
6929
6955
  };
6930
6956
 
6957
+ interface Origin {
6958
+ readonly opaque: boolean;
6959
+ isSameOrigin(other: Origin): boolean;
6960
+ isSameSite(other: Origin): boolean;
6961
+ }
6962
+
6963
+ declare var Origin: {
6964
+ prototype: Origin;
6965
+ new(): Origin;
6966
+ from(value: any): Origin;
6967
+ };
6968
+
6931
6969
  /**
6932
6970
  * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
6933
6971
  *
@@ -7209,6 +7247,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
7209
7247
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
7210
7248
  */
7211
7249
  readonly connectStart: DOMHighResTimeStamp;
7250
+ /**
7251
+ * The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7252
+ *
7253
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7254
+ */
7255
+ readonly contentType: string;
7212
7256
  /**
7213
7257
  * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
7214
7258
  *
@@ -7742,7 +7786,7 @@ interface ReadableStreamBYOBRequest {
7742
7786
  *
7743
7787
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
7744
7788
  */
7745
- readonly view: ArrayBufferView<ArrayBuffer> | null;
7789
+ readonly view: Uint8Array<ArrayBuffer> | null;
7746
7790
  /**
7747
7791
  * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
7748
7792
  *
@@ -8076,7 +8120,7 @@ interface SecurityPolicyViolationEvent extends Event {
8076
8120
  */
8077
8121
  readonly blockedURI: string;
8078
8122
  /**
8079
- * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8123
+ * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
8080
8124
  *
8081
8125
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
8082
8126
  */
@@ -9330,13 +9374,13 @@ interface WEBGL_draw_buffers {
9330
9374
  */
9331
9375
  interface WEBGL_lose_context {
9332
9376
  /**
9333
- * The **`WEBGL_lose_context.loseContext()`** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
9377
+ * The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
9334
9378
  *
9335
9379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
9336
9380
  */
9337
9381
  loseContext(): void;
9338
9382
  /**
9339
- * The **`WEBGL_lose_context.restoreContext()`** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
9383
+ * The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
9340
9384
  *
9341
9385
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
9342
9386
  */
@@ -12551,7 +12595,13 @@ declare namespace WebAssembly {
12551
12595
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
12552
12596
  */
12553
12597
  interface Global<T extends ValueType = ValueType> {
12598
+ /**
12599
+ * The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
12600
+ *
12601
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
12602
+ */
12554
12603
  value: ValueTypeMap[T];
12604
+ /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
12555
12605
  valueOf(): ValueTypeMap[T];
12556
12606
  }
12557
12607
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.224",
3
+ "version": "0.0.226",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -1496,9 +1496,29 @@ declare var CSSKeywordValue: {
1496
1496
  new(value: string): CSSKeywordValue;
1497
1497
  };
1498
1498
 
1499
+ /**
1500
+ * The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
1501
+ *
1502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
1503
+ */
1499
1504
  interface CSSMathClamp extends CSSMathValue {
1505
+ /**
1506
+ * The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
1507
+ *
1508
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
1509
+ */
1500
1510
  readonly lower: CSSNumericValue;
1511
+ /**
1512
+ * The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
1513
+ *
1514
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
1515
+ */
1501
1516
  readonly upper: CSSNumericValue;
1517
+ /**
1518
+ * The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
1519
+ *
1520
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
1521
+ */
1502
1522
  readonly value: CSSNumericValue;
1503
1523
  }
1504
1524
 
@@ -2009,13 +2029,13 @@ declare var CSSTranslate: {
2009
2029
  };
2010
2030
 
2011
2031
  /**
2012
- * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
2032
+ * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
2013
2033
  *
2014
2034
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
2015
2035
  */
2016
2036
  interface CSSUnitValue extends CSSNumericValue {
2017
2037
  /**
2018
- * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
2038
+ * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
2019
2039
  *
2020
2040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
2021
2041
  */
@@ -2380,6 +2400,8 @@ interface CanvasTextDrawingStyles {
2380
2400
  fontStretch: CanvasFontStretch;
2381
2401
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
2382
2402
  fontVariantCaps: CanvasFontVariantCaps;
2403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
2404
+ lang: string;
2383
2405
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
2384
2406
  letterSpacing: string;
2385
2407
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
@@ -3517,7 +3539,7 @@ interface Event {
3517
3539
  */
3518
3540
  readonly eventPhase: number;
3519
3541
  /**
3520
- * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
3542
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
3521
3543
  *
3522
3544
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
3523
3545
  */
@@ -5310,8 +5332,12 @@ interface GPUSupportedLimits {
5310
5332
  readonly maxSamplersPerShaderStage: number;
5311
5333
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5312
5334
  readonly maxStorageBufferBindingSize: number;
5335
+ readonly maxStorageBuffersInFragmentStage: number;
5336
+ readonly maxStorageBuffersInVertexStage: number;
5313
5337
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5314
5338
  readonly maxStorageBuffersPerShaderStage: number;
5339
+ readonly maxStorageTexturesInFragmentStage: number;
5340
+ readonly maxStorageTexturesInVertexStage: number;
5315
5341
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5316
5342
  readonly maxStorageTexturesPerShaderStage: number;
5317
5343
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
@@ -6894,7 +6920,7 @@ interface OffscreenCanvas extends EventTarget {
6894
6920
  getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
6895
6921
  getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
6896
6922
  /**
6897
- * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.
6923
+ * The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
6898
6924
  *
6899
6925
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
6900
6926
  */
@@ -6925,6 +6951,18 @@ declare var OffscreenCanvasRenderingContext2D: {
6925
6951
  new(): OffscreenCanvasRenderingContext2D;
6926
6952
  };
6927
6953
 
6954
+ interface Origin {
6955
+ readonly opaque: boolean;
6956
+ isSameOrigin(other: Origin): boolean;
6957
+ isSameSite(other: Origin): boolean;
6958
+ }
6959
+
6960
+ declare var Origin: {
6961
+ prototype: Origin;
6962
+ new(): Origin;
6963
+ from(value: any): Origin;
6964
+ };
6965
+
6928
6966
  /**
6929
6967
  * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
6930
6968
  *
@@ -7206,6 +7244,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
7206
7244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
7207
7245
  */
7208
7246
  readonly connectStart: DOMHighResTimeStamp;
7247
+ /**
7248
+ * The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7249
+ *
7250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7251
+ */
7252
+ readonly contentType: string;
7209
7253
  /**
7210
7254
  * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
7211
7255
  *
@@ -7739,7 +7783,7 @@ interface ReadableStreamBYOBRequest {
7739
7783
  *
7740
7784
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
7741
7785
  */
7742
- readonly view: ArrayBufferView | null;
7786
+ readonly view: Uint8Array | null;
7743
7787
  /**
7744
7788
  * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
7745
7789
  *
@@ -8073,7 +8117,7 @@ interface SecurityPolicyViolationEvent extends Event {
8073
8117
  */
8074
8118
  readonly blockedURI: string;
8075
8119
  /**
8076
- * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8120
+ * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
8077
8121
  *
8078
8122
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
8079
8123
  */
@@ -9327,13 +9371,13 @@ interface WEBGL_draw_buffers {
9327
9371
  */
9328
9372
  interface WEBGL_lose_context {
9329
9373
  /**
9330
- * The **`WEBGL_lose_context.loseContext()`** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
9374
+ * The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
9331
9375
  *
9332
9376
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
9333
9377
  */
9334
9378
  loseContext(): void;
9335
9379
  /**
9336
- * The **`WEBGL_lose_context.restoreContext()`** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
9380
+ * The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
9337
9381
  *
9338
9382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
9339
9383
  */
@@ -12548,7 +12592,13 @@ declare namespace WebAssembly {
12548
12592
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
12549
12593
  */
12550
12594
  interface Global<T extends ValueType = ValueType> {
12595
+ /**
12596
+ * The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
12597
+ *
12598
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
12599
+ */
12551
12600
  value: ValueTypeMap[T];
12601
+ /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
12552
12602
  valueOf(): ValueTypeMap[T];
12553
12603
  }
12554
12604
 
package/ts5.6/index.d.ts CHANGED
@@ -1496,9 +1496,29 @@ declare var CSSKeywordValue: {
1496
1496
  new(value: string): CSSKeywordValue;
1497
1497
  };
1498
1498
 
1499
+ /**
1500
+ * The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
1501
+ *
1502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
1503
+ */
1499
1504
  interface CSSMathClamp extends CSSMathValue {
1505
+ /**
1506
+ * The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
1507
+ *
1508
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
1509
+ */
1500
1510
  readonly lower: CSSNumericValue;
1511
+ /**
1512
+ * The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
1513
+ *
1514
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
1515
+ */
1501
1516
  readonly upper: CSSNumericValue;
1517
+ /**
1518
+ * The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
1519
+ *
1520
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
1521
+ */
1502
1522
  readonly value: CSSNumericValue;
1503
1523
  }
1504
1524
 
@@ -2009,13 +2029,13 @@ declare var CSSTranslate: {
2009
2029
  };
2010
2030
 
2011
2031
  /**
2012
- * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
2032
+ * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
2013
2033
  *
2014
2034
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
2015
2035
  */
2016
2036
  interface CSSUnitValue extends CSSNumericValue {
2017
2037
  /**
2018
- * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
2038
+ * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
2019
2039
  *
2020
2040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
2021
2041
  */
@@ -2380,6 +2400,8 @@ interface CanvasTextDrawingStyles {
2380
2400
  fontStretch: CanvasFontStretch;
2381
2401
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
2382
2402
  fontVariantCaps: CanvasFontVariantCaps;
2403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
2404
+ lang: string;
2383
2405
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
2384
2406
  letterSpacing: string;
2385
2407
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
@@ -3517,7 +3539,7 @@ interface Event {
3517
3539
  */
3518
3540
  readonly eventPhase: number;
3519
3541
  /**
3520
- * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
3542
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
3521
3543
  *
3522
3544
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
3523
3545
  */
@@ -5310,8 +5332,12 @@ interface GPUSupportedLimits {
5310
5332
  readonly maxSamplersPerShaderStage: number;
5311
5333
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5312
5334
  readonly maxStorageBufferBindingSize: number;
5335
+ readonly maxStorageBuffersInFragmentStage: number;
5336
+ readonly maxStorageBuffersInVertexStage: number;
5313
5337
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5314
5338
  readonly maxStorageBuffersPerShaderStage: number;
5339
+ readonly maxStorageTexturesInFragmentStage: number;
5340
+ readonly maxStorageTexturesInVertexStage: number;
5315
5341
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5316
5342
  readonly maxStorageTexturesPerShaderStage: number;
5317
5343
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
@@ -6894,7 +6920,7 @@ interface OffscreenCanvas extends EventTarget {
6894
6920
  getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
6895
6921
  getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
6896
6922
  /**
6897
- * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.
6923
+ * The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
6898
6924
  *
6899
6925
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
6900
6926
  */
@@ -6925,6 +6951,18 @@ declare var OffscreenCanvasRenderingContext2D: {
6925
6951
  new(): OffscreenCanvasRenderingContext2D;
6926
6952
  };
6927
6953
 
6954
+ interface Origin {
6955
+ readonly opaque: boolean;
6956
+ isSameOrigin(other: Origin): boolean;
6957
+ isSameSite(other: Origin): boolean;
6958
+ }
6959
+
6960
+ declare var Origin: {
6961
+ prototype: Origin;
6962
+ new(): Origin;
6963
+ from(value: any): Origin;
6964
+ };
6965
+
6928
6966
  /**
6929
6967
  * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
6930
6968
  *
@@ -7206,6 +7244,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
7206
7244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
7207
7245
  */
7208
7246
  readonly connectStart: DOMHighResTimeStamp;
7247
+ /**
7248
+ * The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7249
+ *
7250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7251
+ */
7252
+ readonly contentType: string;
7209
7253
  /**
7210
7254
  * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
7211
7255
  *
@@ -7739,7 +7783,7 @@ interface ReadableStreamBYOBRequest {
7739
7783
  *
7740
7784
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
7741
7785
  */
7742
- readonly view: ArrayBufferView | null;
7786
+ readonly view: Uint8Array | null;
7743
7787
  /**
7744
7788
  * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
7745
7789
  *
@@ -8073,7 +8117,7 @@ interface SecurityPolicyViolationEvent extends Event {
8073
8117
  */
8074
8118
  readonly blockedURI: string;
8075
8119
  /**
8076
- * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8120
+ * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
8077
8121
  *
8078
8122
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
8079
8123
  */
@@ -9327,13 +9371,13 @@ interface WEBGL_draw_buffers {
9327
9371
  */
9328
9372
  interface WEBGL_lose_context {
9329
9373
  /**
9330
- * The **`WEBGL_lose_context.loseContext()`** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
9374
+ * The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
9331
9375
  *
9332
9376
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
9333
9377
  */
9334
9378
  loseContext(): void;
9335
9379
  /**
9336
- * The **`WEBGL_lose_context.restoreContext()`** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
9380
+ * The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
9337
9381
  *
9338
9382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
9339
9383
  */
@@ -12548,7 +12592,13 @@ declare namespace WebAssembly {
12548
12592
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
12549
12593
  */
12550
12594
  interface Global<T extends ValueType = ValueType> {
12595
+ /**
12596
+ * The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
12597
+ *
12598
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
12599
+ */
12551
12600
  value: ValueTypeMap[T];
12601
+ /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
12552
12602
  valueOf(): ValueTypeMap[T];
12553
12603
  }
12554
12604
 
package/ts5.9/index.d.ts CHANGED
@@ -1496,9 +1496,29 @@ declare var CSSKeywordValue: {
1496
1496
  new(value: string): CSSKeywordValue;
1497
1497
  };
1498
1498
 
1499
+ /**
1500
+ * The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
1501
+ *
1502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
1503
+ */
1499
1504
  interface CSSMathClamp extends CSSMathValue {
1505
+ /**
1506
+ * The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
1507
+ *
1508
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
1509
+ */
1500
1510
  readonly lower: CSSNumericValue;
1511
+ /**
1512
+ * The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
1513
+ *
1514
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
1515
+ */
1501
1516
  readonly upper: CSSNumericValue;
1517
+ /**
1518
+ * The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
1519
+ *
1520
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
1521
+ */
1502
1522
  readonly value: CSSNumericValue;
1503
1523
  }
1504
1524
 
@@ -2009,13 +2029,13 @@ declare var CSSTranslate: {
2009
2029
  };
2010
2030
 
2011
2031
  /**
2012
- * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
2032
+ * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
2013
2033
  *
2014
2034
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
2015
2035
  */
2016
2036
  interface CSSUnitValue extends CSSNumericValue {
2017
2037
  /**
2018
- * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.
2038
+ * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
2019
2039
  *
2020
2040
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
2021
2041
  */
@@ -2380,6 +2400,8 @@ interface CanvasTextDrawingStyles {
2380
2400
  fontStretch: CanvasFontStretch;
2381
2401
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
2382
2402
  fontVariantCaps: CanvasFontVariantCaps;
2403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
2404
+ lang: string;
2383
2405
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
2384
2406
  letterSpacing: string;
2385
2407
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
@@ -3517,7 +3539,7 @@ interface Event {
3517
3539
  */
3518
3540
  readonly eventPhase: number;
3519
3541
  /**
3520
- * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The only exception is the click event, which initializes the isTrusted property to false in user agents.
3542
+ * The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
3521
3543
  *
3522
3544
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
3523
3545
  */
@@ -5310,8 +5332,12 @@ interface GPUSupportedLimits {
5310
5332
  readonly maxSamplersPerShaderStage: number;
5311
5333
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5312
5334
  readonly maxStorageBufferBindingSize: number;
5335
+ readonly maxStorageBuffersInFragmentStage: number;
5336
+ readonly maxStorageBuffersInVertexStage: number;
5313
5337
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5314
5338
  readonly maxStorageBuffersPerShaderStage: number;
5339
+ readonly maxStorageTexturesInFragmentStage: number;
5340
+ readonly maxStorageTexturesInVertexStage: number;
5315
5341
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
5316
5342
  readonly maxStorageTexturesPerShaderStage: number;
5317
5343
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
@@ -6894,7 +6920,7 @@ interface OffscreenCanvas extends EventTarget {
6894
6920
  getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
6895
6921
  getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
6896
6922
  /**
6897
- * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The OffscreenCanvas allocates a new image for its subsequent rendering.
6923
+ * The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
6898
6924
  *
6899
6925
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
6900
6926
  */
@@ -6925,6 +6951,18 @@ declare var OffscreenCanvasRenderingContext2D: {
6925
6951
  new(): OffscreenCanvasRenderingContext2D;
6926
6952
  };
6927
6953
 
6954
+ interface Origin {
6955
+ readonly opaque: boolean;
6956
+ isSameOrigin(other: Origin): boolean;
6957
+ isSameSite(other: Origin): boolean;
6958
+ }
6959
+
6960
+ declare var Origin: {
6961
+ prototype: Origin;
6962
+ new(): Origin;
6963
+ from(value: any): Origin;
6964
+ };
6965
+
6928
6966
  /**
6929
6967
  * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
6930
6968
  *
@@ -7206,6 +7244,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
7206
7244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
7207
7245
  */
7208
7246
  readonly connectStart: DOMHighResTimeStamp;
7247
+ /**
7248
+ * The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
7249
+ *
7250
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
7251
+ */
7252
+ readonly contentType: string;
7209
7253
  /**
7210
7254
  * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
7211
7255
  *
@@ -7739,7 +7783,7 @@ interface ReadableStreamBYOBRequest {
7739
7783
  *
7740
7784
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
7741
7785
  */
7742
- readonly view: ArrayBufferView<ArrayBuffer> | null;
7786
+ readonly view: Uint8Array<ArrayBuffer> | null;
7743
7787
  /**
7744
7788
  * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
7745
7789
  *
@@ -8073,7 +8117,7 @@ interface SecurityPolicyViolationEvent extends Event {
8073
8117
  */
8074
8118
  readonly blockedURI: string;
8075
8119
  /**
8076
- * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.
8120
+ * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
8077
8121
  *
8078
8122
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
8079
8123
  */
@@ -9327,13 +9371,13 @@ interface WEBGL_draw_buffers {
9327
9371
  */
9328
9372
  interface WEBGL_lose_context {
9329
9373
  /**
9330
- * The **`WEBGL_lose_context.loseContext()`** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.
9374
+ * The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
9331
9375
  *
9332
9376
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
9333
9377
  */
9334
9378
  loseContext(): void;
9335
9379
  /**
9336
- * The **`WEBGL_lose_context.restoreContext()`** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.
9380
+ * The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
9337
9381
  *
9338
9382
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
9339
9383
  */
@@ -12548,7 +12592,13 @@ declare namespace WebAssembly {
12548
12592
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
12549
12593
  */
12550
12594
  interface Global<T extends ValueType = ValueType> {
12595
+ /**
12596
+ * The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable.
12597
+ *
12598
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/value)
12599
+ */
12551
12600
  value: ValueTypeMap[T];
12601
+ /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global/valueOf) */
12552
12602
  valueOf(): ValueTypeMap[T];
12553
12603
  }
12554
12604