@types/serviceworker 0.0.142 → 0.0.144

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.142 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.142.
31
+ You can read what changed in version 0.0.144 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.144.
package/index.d.ts CHANGED
@@ -945,7 +945,7 @@ declare var AbortSignal: {
945
945
  *
946
946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
947
947
  */
948
- // abort(reason?: any): AbortSignal; - To be re-added in the future
948
+ abort(reason?: any): AbortSignal;
949
949
  /**
950
950
  * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
951
951
  *
@@ -10918,7 +10918,11 @@ declare namespace WebAssembly {
10918
10918
  (message?: string): CompileError;
10919
10919
  };
10920
10920
 
10921
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */
10921
+ /**
10922
+ * A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
10923
+ *
10924
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
10925
+ */
10922
10926
  interface Global<T extends ValueType = ValueType> {
10923
10927
  value: ValueTypeMap[T];
10924
10928
  valueOf(): ValueTypeMap[T];
@@ -10929,9 +10933,17 @@ declare namespace WebAssembly {
10929
10933
  new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
10930
10934
  };
10931
10935
 
10932
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */
10936
+ /**
10937
+ * A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
10938
+ *
10939
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
10940
+ */
10933
10941
  interface Instance {
10934
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */
10942
+ /**
10943
+ * The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
10944
+ *
10945
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
10946
+ */
10935
10947
  readonly exports: Exports;
10936
10948
  }
10937
10949
 
@@ -10949,11 +10961,23 @@ declare namespace WebAssembly {
10949
10961
  (message?: string): LinkError;
10950
10962
  };
10951
10963
 
10952
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */
10964
+ /**
10965
+ * The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
10966
+ *
10967
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
10968
+ */
10953
10969
  interface Memory {
10954
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */
10970
+ /**
10971
+ * The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
10972
+ *
10973
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
10974
+ */
10955
10975
  readonly buffer: ArrayBuffer;
10956
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */
10976
+ /**
10977
+ * The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
10978
+ *
10979
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
10980
+ */
10957
10981
  grow(delta: number): number;
10958
10982
  }
10959
10983
 
@@ -10962,18 +10986,34 @@ declare namespace WebAssembly {
10962
10986
  new(descriptor: MemoryDescriptor): Memory;
10963
10987
  };
10964
10988
 
10965
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */
10989
+ /**
10990
+ * A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
10991
+ *
10992
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
10993
+ */
10966
10994
  interface Module {
10967
10995
  }
10968
10996
 
10969
10997
  var Module: {
10970
10998
  prototype: Module;
10971
10999
  new(bytes: BufferSource): Module;
10972
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */
11000
+ /**
11001
+ * 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.
11002
+ *
11003
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
11004
+ */
10973
11005
  customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
10974
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */
11006
+ /**
11007
+ * The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
11008
+ *
11009
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
11010
+ */
10975
11011
  exports(moduleObject: Module): ModuleExportDescriptor[];
10976
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */
11012
+ /**
11013
+ * The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
11014
+ *
11015
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
11016
+ */
10977
11017
  imports(moduleObject: Module): ModuleImportDescriptor[];
10978
11018
  };
10979
11019
 
@@ -10986,15 +11026,35 @@ declare namespace WebAssembly {
10986
11026
  (message?: string): RuntimeError;
10987
11027
  };
10988
11028
 
10989
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */
11029
+ /**
11030
+ * The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
11031
+ *
11032
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
11033
+ */
10990
11034
  interface Table {
10991
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */
11035
+ /**
11036
+ * The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
11037
+ *
11038
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
11039
+ */
10992
11040
  readonly length: number;
10993
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */
11041
+ /**
11042
+ * The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
11043
+ *
11044
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
11045
+ */
10994
11046
  get(index: number): any;
10995
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */
11047
+ /**
11048
+ * The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
11049
+ *
11050
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
11051
+ */
10996
11052
  grow(delta: number, value?: any): number;
10997
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */
11053
+ /**
11054
+ * The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
11055
+ *
11056
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
11057
+ */
10998
11058
  set(index: number, value?: any): void;
10999
11059
  }
11000
11060
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
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
@@ -945,7 +945,7 @@ declare var AbortSignal: {
945
945
  *
946
946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
947
947
  */
948
- // abort(reason?: any): AbortSignal; - To be re-added in the future
948
+ abort(reason?: any): AbortSignal;
949
949
  /**
950
950
  * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
951
951
  *
@@ -10918,7 +10918,11 @@ declare namespace WebAssembly {
10918
10918
  (message?: string): CompileError;
10919
10919
  };
10920
10920
 
10921
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */
10921
+ /**
10922
+ * A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
10923
+ *
10924
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
10925
+ */
10922
10926
  interface Global<T extends ValueType = ValueType> {
10923
10927
  value: ValueTypeMap[T];
10924
10928
  valueOf(): ValueTypeMap[T];
@@ -10929,9 +10933,17 @@ declare namespace WebAssembly {
10929
10933
  new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
10930
10934
  };
10931
10935
 
10932
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */
10936
+ /**
10937
+ * A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
10938
+ *
10939
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
10940
+ */
10933
10941
  interface Instance {
10934
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */
10942
+ /**
10943
+ * The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
10944
+ *
10945
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
10946
+ */
10935
10947
  readonly exports: Exports;
10936
10948
  }
10937
10949
 
@@ -10949,11 +10961,23 @@ declare namespace WebAssembly {
10949
10961
  (message?: string): LinkError;
10950
10962
  };
10951
10963
 
10952
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */
10964
+ /**
10965
+ * The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
10966
+ *
10967
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
10968
+ */
10953
10969
  interface Memory {
10954
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */
10970
+ /**
10971
+ * The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
10972
+ *
10973
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
10974
+ */
10955
10975
  readonly buffer: ArrayBuffer;
10956
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */
10976
+ /**
10977
+ * The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
10978
+ *
10979
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
10980
+ */
10957
10981
  grow(delta: number): number;
10958
10982
  }
10959
10983
 
@@ -10962,18 +10986,34 @@ declare namespace WebAssembly {
10962
10986
  new(descriptor: MemoryDescriptor): Memory;
10963
10987
  };
10964
10988
 
10965
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */
10989
+ /**
10990
+ * A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
10991
+ *
10992
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
10993
+ */
10966
10994
  interface Module {
10967
10995
  }
10968
10996
 
10969
10997
  var Module: {
10970
10998
  prototype: Module;
10971
10999
  new(bytes: BufferSource): Module;
10972
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */
11000
+ /**
11001
+ * 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.
11002
+ *
11003
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
11004
+ */
10973
11005
  customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
10974
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */
11006
+ /**
11007
+ * The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
11008
+ *
11009
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
11010
+ */
10975
11011
  exports(moduleObject: Module): ModuleExportDescriptor[];
10976
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */
11012
+ /**
11013
+ * The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
11014
+ *
11015
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
11016
+ */
10977
11017
  imports(moduleObject: Module): ModuleImportDescriptor[];
10978
11018
  };
10979
11019
 
@@ -10986,15 +11026,35 @@ declare namespace WebAssembly {
10986
11026
  (message?: string): RuntimeError;
10987
11027
  };
10988
11028
 
10989
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */
11029
+ /**
11030
+ * The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
11031
+ *
11032
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
11033
+ */
10990
11034
  interface Table {
10991
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */
11035
+ /**
11036
+ * The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
11037
+ *
11038
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
11039
+ */
10992
11040
  readonly length: number;
10993
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */
11041
+ /**
11042
+ * The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
11043
+ *
11044
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
11045
+ */
10994
11046
  get(index: number): any;
10995
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */
11047
+ /**
11048
+ * The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
11049
+ *
11050
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
11051
+ */
10996
11052
  grow(delta: number, value?: any): number;
10997
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */
11053
+ /**
11054
+ * The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
11055
+ *
11056
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
11057
+ */
10998
11058
  set(index: number, value?: any): void;
10999
11059
  }
11000
11060
 
package/ts5.6/index.d.ts CHANGED
@@ -945,7 +945,7 @@ declare var AbortSignal: {
945
945
  *
946
946
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
947
947
  */
948
- // abort(reason?: any): AbortSignal; - To be re-added in the future
948
+ abort(reason?: any): AbortSignal;
949
949
  /**
950
950
  * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
951
951
  *
@@ -10918,7 +10918,11 @@ declare namespace WebAssembly {
10918
10918
  (message?: string): CompileError;
10919
10919
  };
10920
10920
 
10921
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */
10921
+ /**
10922
+ * A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
10923
+ *
10924
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
10925
+ */
10922
10926
  interface Global<T extends ValueType = ValueType> {
10923
10927
  value: ValueTypeMap[T];
10924
10928
  valueOf(): ValueTypeMap[T];
@@ -10929,9 +10933,17 @@ declare namespace WebAssembly {
10929
10933
  new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
10930
10934
  };
10931
10935
 
10932
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */
10936
+ /**
10937
+ * A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
10938
+ *
10939
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
10940
+ */
10933
10941
  interface Instance {
10934
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */
10942
+ /**
10943
+ * The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
10944
+ *
10945
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
10946
+ */
10935
10947
  readonly exports: Exports;
10936
10948
  }
10937
10949
 
@@ -10949,11 +10961,23 @@ declare namespace WebAssembly {
10949
10961
  (message?: string): LinkError;
10950
10962
  };
10951
10963
 
10952
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */
10964
+ /**
10965
+ * The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
10966
+ *
10967
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
10968
+ */
10953
10969
  interface Memory {
10954
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */
10970
+ /**
10971
+ * The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
10972
+ *
10973
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
10974
+ */
10955
10975
  readonly buffer: ArrayBuffer;
10956
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */
10976
+ /**
10977
+ * The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
10978
+ *
10979
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
10980
+ */
10957
10981
  grow(delta: number): number;
10958
10982
  }
10959
10983
 
@@ -10962,18 +10986,34 @@ declare namespace WebAssembly {
10962
10986
  new(descriptor: MemoryDescriptor): Memory;
10963
10987
  };
10964
10988
 
10965
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */
10989
+ /**
10990
+ * A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
10991
+ *
10992
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
10993
+ */
10966
10994
  interface Module {
10967
10995
  }
10968
10996
 
10969
10997
  var Module: {
10970
10998
  prototype: Module;
10971
10999
  new(bytes: BufferSource): Module;
10972
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */
11000
+ /**
11001
+ * 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.
11002
+ *
11003
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
11004
+ */
10973
11005
  customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
10974
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */
11006
+ /**
11007
+ * The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
11008
+ *
11009
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
11010
+ */
10975
11011
  exports(moduleObject: Module): ModuleExportDescriptor[];
10976
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */
11012
+ /**
11013
+ * The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
11014
+ *
11015
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
11016
+ */
10977
11017
  imports(moduleObject: Module): ModuleImportDescriptor[];
10978
11018
  };
10979
11019
 
@@ -10986,15 +11026,35 @@ declare namespace WebAssembly {
10986
11026
  (message?: string): RuntimeError;
10987
11027
  };
10988
11028
 
10989
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */
11029
+ /**
11030
+ * The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
11031
+ *
11032
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
11033
+ */
10990
11034
  interface Table {
10991
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */
11035
+ /**
11036
+ * The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
11037
+ *
11038
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
11039
+ */
10992
11040
  readonly length: number;
10993
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */
11041
+ /**
11042
+ * The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
11043
+ *
11044
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
11045
+ */
10994
11046
  get(index: number): any;
10995
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */
11047
+ /**
11048
+ * The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
11049
+ *
11050
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
11051
+ */
10996
11052
  grow(delta: number, value?: any): number;
10997
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */
11053
+ /**
11054
+ * The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
11055
+ *
11056
+ * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
11057
+ */
10998
11058
  set(index: number, value?: any): void;
10999
11059
  }
11000
11060