@types/sharedworker 0.0.117 → 0.0.118

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.117 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.117.
31
+ You can read what changed in version 0.0.118 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.118.
package/index.d.ts CHANGED
@@ -1766,9 +1766,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1766
1766
  rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
1767
1767
  rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
1768
1768
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1769
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1770
1769
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1771
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1772
1770
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1773
1771
  skewXSelf(sx?: number): DOMMatrix;
1774
1772
  skewYSelf(sy?: number): DOMMatrix;
@@ -1785,88 +1783,48 @@ declare var DOMMatrix: {
1785
1783
 
1786
1784
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
1787
1785
  interface DOMMatrixReadOnly {
1788
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */
1789
1786
  readonly a: number;
1790
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */
1791
1787
  readonly b: number;
1792
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */
1793
1788
  readonly c: number;
1794
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */
1795
1789
  readonly d: number;
1796
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */
1797
1790
  readonly e: number;
1798
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */
1799
1791
  readonly f: number;
1800
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
1801
1792
  readonly is2D: boolean;
1802
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
1803
1793
  readonly isIdentity: boolean;
1804
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */
1805
1794
  readonly m11: number;
1806
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */
1807
1795
  readonly m12: number;
1808
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */
1809
1796
  readonly m13: number;
1810
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */
1811
1797
  readonly m14: number;
1812
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */
1813
1798
  readonly m21: number;
1814
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */
1815
1799
  readonly m22: number;
1816
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */
1817
1800
  readonly m23: number;
1818
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */
1819
1801
  readonly m24: number;
1820
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */
1821
1802
  readonly m31: number;
1822
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */
1823
1803
  readonly m32: number;
1824
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */
1825
1804
  readonly m33: number;
1826
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */
1827
1805
  readonly m34: number;
1828
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */
1829
1806
  readonly m41: number;
1830
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */
1831
1807
  readonly m42: number;
1832
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */
1833
1808
  readonly m43: number;
1834
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */
1835
1809
  readonly m44: number;
1836
1810
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
1837
1811
  flipX(): DOMMatrix;
1838
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
1839
1812
  flipY(): DOMMatrix;
1840
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
1841
1813
  inverse(): DOMMatrix;
1842
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
1843
1814
  multiply(other?: DOMMatrixInit): DOMMatrix;
1844
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
1845
1815
  rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1846
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
1847
1816
  rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
1848
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
1849
1817
  rotateFromVector(x?: number, y?: number): DOMMatrix;
1850
1818
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
1851
1819
  scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1852
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */
1853
1820
  scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1854
- /**
1855
- * @deprecated
1856
- *
1857
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)
1858
- */
1821
+ /** @deprecated */
1859
1822
  scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
1860
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
1861
1823
  skewX(sx?: number): DOMMatrix;
1862
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
1863
1824
  skewY(sy?: number): DOMMatrix;
1864
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
1865
1825
  toFloat32Array(): Float32Array;
1866
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
1867
1826
  toFloat64Array(): Float64Array;
1868
1827
  toJSON(): any;
1869
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
1870
1828
  transformPoint(point?: DOMPointInit): DOMPoint;
1871
1829
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
1872
1830
  translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
@@ -1909,7 +1867,6 @@ interface DOMPointReadOnly {
1909
1867
  readonly y: number;
1910
1868
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
1911
1869
  readonly z: number;
1912
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
1913
1870
  matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
1914
1871
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
1915
1872
  toJSON(): any;
@@ -1924,15 +1881,10 @@ declare var DOMPointReadOnly: {
1924
1881
 
1925
1882
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
1926
1883
  interface DOMQuad {
1927
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
1928
1884
  readonly p1: DOMPoint;
1929
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
1930
1885
  readonly p2: DOMPoint;
1931
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
1932
1886
  readonly p3: DOMPoint;
1933
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
1934
1887
  readonly p4: DOMPoint;
1935
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
1936
1888
  getBounds(): DOMRect;
1937
1889
  toJSON(): any;
1938
1890
  }
@@ -1955,6 +1907,7 @@ interface DOMRect extends DOMRectReadOnly {
1955
1907
  declare var DOMRect: {
1956
1908
  prototype: DOMRect;
1957
1909
  new(x?: number, y?: number, width?: number, height?: number): DOMRect;
1910
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
1958
1911
  fromRect(other?: DOMRectInit): DOMRect;
1959
1912
  };
1960
1913
 
@@ -2113,15 +2066,10 @@ interface EXT_texture_norm16 {
2113
2066
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
2114
2067
  */
2115
2068
  interface ErrorEvent extends Event {
2116
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
2117
2069
  readonly colno: number;
2118
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
2119
2070
  readonly error: any;
2120
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
2121
2071
  readonly filename: string;
2122
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
2123
2072
  readonly lineno: number;
2124
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
2125
2073
  readonly message: string;
2126
2074
  }
2127
2075
 
@@ -3348,7 +3296,7 @@ interface IDBTransaction extends EventTarget {
3348
3296
  /**
3349
3297
  * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
3350
3298
  *
3351
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
3299
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
3352
3300
  */
3353
3301
  readonly objectStoreNames: DOMStringList;
3354
3302
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
@@ -3594,11 +3542,7 @@ interface MessageEvent<T = any> extends Event {
3594
3542
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
3595
3543
  */
3596
3544
  readonly source: MessageEventSource | null;
3597
- /**
3598
- * @deprecated
3599
- *
3600
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
3601
- */
3545
+ /** @deprecated */
3602
3546
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
3603
3547
  }
3604
3548
 
@@ -3913,7 +3857,9 @@ interface OffscreenCanvas extends EventTarget {
3913
3857
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
3914
3858
  */
3915
3859
  height: number;
3860
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
3916
3861
  oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
3862
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
3917
3863
  oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
3918
3864
  /**
3919
3865
  * These attributes return the dimensions of the OffscreenCanvas object's bitmap.
@@ -4454,6 +4400,7 @@ declare var Report: {
4454
4400
 
4455
4401
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
4456
4402
  interface ReportBody {
4403
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
4457
4404
  toJSON(): any;
4458
4405
  }
4459
4406
 
@@ -4513,11 +4460,7 @@ interface Request extends Body {
4513
4460
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
4514
4461
  */
4515
4462
  readonly integrity: string;
4516
- /**
4517
- * Returns a boolean indicating whether or not request can outlive the global in which it was created.
4518
- *
4519
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
4520
- */
4463
+ /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
4521
4464
  readonly keepalive: boolean;
4522
4465
  /**
4523
4466
  * Returns request's HTTP method, which is "GET" by default.
@@ -5133,11 +5076,11 @@ declare var URL: {
5133
5076
  prototype: URL;
5134
5077
  new(url: string | URL, base?: string | URL): URL;
5135
5078
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
5136
- canParse(url: string | URL, base?: string): boolean;
5079
+ canParse(url: string | URL, base?: string | URL): boolean;
5137
5080
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
5138
5081
  createObjectURL(obj: Blob): string;
5139
5082
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5140
- parse(url: string | URL, base?: string): URL | null;
5083
+ parse(url: string | URL, base?: string | URL): URL | null;
5141
5084
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
5142
5085
  revokeObjectURL(url: string): void;
5143
5086
  };
@@ -5962,7 +5905,7 @@ interface WebGL2RenderingContextBase {
5962
5905
  clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
5963
5906
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
5964
5907
  clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
5965
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
5908
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
5966
5909
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
5967
5910
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
5968
5911
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
@@ -7553,7 +7496,7 @@ declare var WebGLVertexArrayObject: {
7553
7496
  new(): WebGLVertexArrayObject;
7554
7497
  };
7555
7498
 
7556
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */
7499
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
7557
7500
  interface WebGLVertexArrayObjectOES {
7558
7501
  }
7559
7502
 
@@ -7743,24 +7686,24 @@ interface WindowOrWorkerGlobalScope {
7743
7686
  /**
7744
7687
  * Available only in secure contexts.
7745
7688
  *
7746
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
7689
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
7747
7690
  */
7748
7691
  readonly caches: CacheStorage;
7749
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
7692
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
7750
7693
  readonly crossOriginIsolated: boolean;
7751
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */
7694
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
7752
7695
  readonly crypto: Crypto;
7753
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
7696
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
7754
7697
  readonly indexedDB: IDBFactory;
7755
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
7698
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
7756
7699
  readonly isSecureContext: boolean;
7757
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
7700
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
7758
7701
  readonly origin: string;
7759
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */
7702
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
7760
7703
  readonly performance: Performance;
7761
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
7704
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
7762
7705
  atob(data: string): string;
7763
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
7706
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
7764
7707
  btoa(data: string): string;
7765
7708
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
7766
7709
  clearInterval(id: number | undefined): void;
@@ -8193,7 +8136,7 @@ interface Console {
8193
8136
  clear(): void;
8194
8137
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
8195
8138
  count(label?: string): void;
8196
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
8139
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
8197
8140
  countReset(label?: string): void;
8198
8141
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
8199
8142
  debug(...data: any[]): void;
@@ -8205,9 +8148,9 @@ interface Console {
8205
8148
  error(...data: any[]): void;
8206
8149
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
8207
8150
  group(...data: any[]): void;
8208
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
8151
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
8209
8152
  groupCollapsed(...data: any[]): void;
8210
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
8153
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
8211
8154
  groupEnd(): void;
8212
8155
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
8213
8156
  info(...data: any[]): void;
@@ -8217,9 +8160,9 @@ interface Console {
8217
8160
  table(tabularData?: any, properties?: string[]): void;
8218
8161
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
8219
8162
  time(label?: string): void;
8220
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
8163
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
8221
8164
  timeEnd(label?: string): void;
8222
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
8165
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
8223
8166
  timeLog(label?: string, ...data: any[]): void;
8224
8167
  timeStamp(label?: string): void;
8225
8168
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -8242,9 +8185,7 @@ declare namespace WebAssembly {
8242
8185
 
8243
8186
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
8244
8187
  interface Global<T extends ValueType = ValueType> {
8245
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
8246
8188
  value: ValueTypeMap[T];
8247
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
8248
8189
  valueOf(): ValueTypeMap[T];
8249
8190
  }
8250
8191
 
@@ -8522,24 +8463,24 @@ declare var fonts: FontFaceSet;
8522
8463
  /**
8523
8464
  * Available only in secure contexts.
8524
8465
  *
8525
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
8466
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
8526
8467
  */
8527
8468
  declare var caches: CacheStorage;
8528
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
8469
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
8529
8470
  declare var crossOriginIsolated: boolean;
8530
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */
8471
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
8531
8472
  declare var crypto: Crypto;
8532
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
8473
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
8533
8474
  declare var indexedDB: IDBFactory;
8534
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
8475
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
8535
8476
  declare var isSecureContext: boolean;
8536
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
8477
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
8537
8478
  declare var origin: string;
8538
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */
8479
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
8539
8480
  declare var performance: Performance;
8540
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
8481
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
8541
8482
  declare function atob(data: string): string;
8542
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
8483
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
8543
8484
  declare function btoa(data: string): string;
8544
8485
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
8545
8486
  declare function clearInterval(id: number | undefined): void;
package/iterable.d.ts CHANGED
@@ -95,11 +95,7 @@ interface IDBObjectStore {
95
95
  }
96
96
 
97
97
  interface MessageEvent<T = any> {
98
- /**
99
- * @deprecated
100
- *
101
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
102
- */
98
+ /** @deprecated */
103
99
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
104
100
  }
105
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],