@types/serviceworker 0.0.88 → 0.0.89

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.88 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.88.
31
+ You can read what changed in version 0.0.89 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.89.
package/index.d.ts CHANGED
@@ -1839,9 +1839,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
1839
1839
  rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
1840
1840
  rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
1841
1841
  rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1842
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
1843
1842
  scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1844
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
1845
1843
  scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1846
1844
  skewXSelf(sx?: number): DOMMatrix;
1847
1845
  skewYSelf(sy?: number): DOMMatrix;
@@ -1858,88 +1856,48 @@ declare var DOMMatrix: {
1858
1856
 
1859
1857
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
1860
1858
  interface DOMMatrixReadOnly {
1861
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/a) */
1862
1859
  readonly a: number;
1863
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/b) */
1864
1860
  readonly b: number;
1865
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/c) */
1866
1861
  readonly c: number;
1867
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/d) */
1868
1862
  readonly d: number;
1869
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/e) */
1870
1863
  readonly e: number;
1871
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/f) */
1872
1864
  readonly f: number;
1873
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
1874
1865
  readonly is2D: boolean;
1875
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
1876
1866
  readonly isIdentity: boolean;
1877
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m11) */
1878
1867
  readonly m11: number;
1879
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m12) */
1880
1868
  readonly m12: number;
1881
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m13) */
1882
1869
  readonly m13: number;
1883
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m14) */
1884
1870
  readonly m14: number;
1885
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m21) */
1886
1871
  readonly m21: number;
1887
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m22) */
1888
1872
  readonly m22: number;
1889
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m23) */
1890
1873
  readonly m23: number;
1891
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m24) */
1892
1874
  readonly m24: number;
1893
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m31) */
1894
1875
  readonly m31: number;
1895
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m32) */
1896
1876
  readonly m32: number;
1897
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m33) */
1898
1877
  readonly m33: number;
1899
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m34) */
1900
1878
  readonly m34: number;
1901
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m41) */
1902
1879
  readonly m41: number;
1903
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m42) */
1904
1880
  readonly m42: number;
1905
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m43) */
1906
1881
  readonly m43: number;
1907
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/m44) */
1908
1882
  readonly m44: number;
1909
1883
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
1910
1884
  flipX(): DOMMatrix;
1911
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
1912
1885
  flipY(): DOMMatrix;
1913
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
1914
1886
  inverse(): DOMMatrix;
1915
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
1916
1887
  multiply(other?: DOMMatrixInit): DOMMatrix;
1917
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
1918
1888
  rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
1919
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
1920
1889
  rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
1921
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
1922
1890
  rotateFromVector(x?: number, y?: number): DOMMatrix;
1923
1891
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
1924
1892
  scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1925
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */
1926
1893
  scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
1927
- /**
1928
- * @deprecated
1929
- *
1930
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scaleNonUniform)
1931
- */
1894
+ /** @deprecated */
1932
1895
  scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
1933
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
1934
1896
  skewX(sx?: number): DOMMatrix;
1935
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
1936
1897
  skewY(sy?: number): DOMMatrix;
1937
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
1938
1898
  toFloat32Array(): Float32Array;
1939
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
1940
1899
  toFloat64Array(): Float64Array;
1941
1900
  toJSON(): any;
1942
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
1943
1901
  transformPoint(point?: DOMPointInit): DOMPoint;
1944
1902
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
1945
1903
  translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
@@ -1982,7 +1940,6 @@ interface DOMPointReadOnly {
1982
1940
  readonly y: number;
1983
1941
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
1984
1942
  readonly z: number;
1985
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
1986
1943
  matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
1987
1944
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
1988
1945
  toJSON(): any;
@@ -1997,15 +1954,10 @@ declare var DOMPointReadOnly: {
1997
1954
 
1998
1955
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
1999
1956
  interface DOMQuad {
2000
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
2001
1957
  readonly p1: DOMPoint;
2002
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
2003
1958
  readonly p2: DOMPoint;
2004
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
2005
1959
  readonly p3: DOMPoint;
2006
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
2007
1960
  readonly p4: DOMPoint;
2008
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
2009
1961
  getBounds(): DOMRect;
2010
1962
  toJSON(): any;
2011
1963
  }
@@ -2028,6 +1980,7 @@ interface DOMRect extends DOMRectReadOnly {
2028
1980
  declare var DOMRect: {
2029
1981
  prototype: DOMRect;
2030
1982
  new(x?: number, y?: number, width?: number, height?: number): DOMRect;
1983
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
2031
1984
  fromRect(other?: DOMRectInit): DOMRect;
2032
1985
  };
2033
1986
 
@@ -2186,15 +2139,10 @@ interface EXT_texture_norm16 {
2186
2139
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
2187
2140
  */
2188
2141
  interface ErrorEvent extends Event {
2189
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
2190
2142
  readonly colno: number;
2191
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
2192
2143
  readonly error: any;
2193
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
2194
2144
  readonly filename: string;
2195
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
2196
2145
  readonly lineno: number;
2197
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
2198
2146
  readonly message: string;
2199
2147
  }
2200
2148
 
@@ -3459,7 +3407,7 @@ interface IDBTransaction extends EventTarget {
3459
3407
  /**
3460
3408
  * 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.
3461
3409
  *
3462
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
3410
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
3463
3411
  */
3464
3412
  readonly objectStoreNames: DOMStringList;
3465
3413
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
@@ -3705,11 +3653,7 @@ interface MessageEvent<T = any> extends Event {
3705
3653
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
3706
3654
  */
3707
3655
  readonly source: MessageEventSource | null;
3708
- /**
3709
- * @deprecated
3710
- *
3711
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
3712
- */
3656
+ /** @deprecated */
3713
3657
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
3714
3658
  }
3715
3659
 
@@ -4041,7 +3985,9 @@ interface OffscreenCanvas extends EventTarget {
4041
3985
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
4042
3986
  */
4043
3987
  height: number;
3988
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
4044
3989
  oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
3990
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
4045
3991
  oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
4046
3992
  /**
4047
3993
  * These attributes return the dimensions of the OffscreenCanvas object's bitmap.
@@ -4620,6 +4566,7 @@ declare var Report: {
4620
4566
 
4621
4567
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
4622
4568
  interface ReportBody {
4569
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
4623
4570
  toJSON(): any;
4624
4571
  }
4625
4572
 
@@ -4679,11 +4626,7 @@ interface Request extends Body {
4679
4626
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
4680
4627
  */
4681
4628
  readonly integrity: string;
4682
- /**
4683
- * Returns a boolean indicating whether or not request can outlive the global in which it was created.
4684
- *
4685
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
4686
- */
4629
+ /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
4687
4630
  readonly keepalive: boolean;
4688
4631
  /**
4689
4632
  * Returns request's HTTP method, which is "GET" by default.
@@ -5324,9 +5267,9 @@ declare var URL: {
5324
5267
  prototype: URL;
5325
5268
  new(url: string | URL, base?: string | URL): URL;
5326
5269
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
5327
- canParse(url: string | URL, base?: string): boolean;
5270
+ canParse(url: string | URL, base?: string | URL): boolean;
5328
5271
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
5329
- parse(url: string | URL, base?: string): URL | null;
5272
+ parse(url: string | URL, base?: string | URL): URL | null;
5330
5273
  };
5331
5274
 
5332
5275
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
@@ -6149,7 +6092,7 @@ interface WebGL2RenderingContextBase {
6149
6092
  clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
6150
6093
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
6151
6094
  clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
6152
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
6095
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
6153
6096
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
6154
6097
  compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
6155
6098
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
@@ -7740,7 +7683,7 @@ declare var WebGLVertexArrayObject: {
7740
7683
  new(): WebGLVertexArrayObject;
7741
7684
  };
7742
7685
 
7743
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObjectOES) */
7686
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
7744
7687
  interface WebGLVertexArrayObjectOES {
7745
7688
  }
7746
7689
 
@@ -7951,24 +7894,24 @@ interface WindowOrWorkerGlobalScope {
7951
7894
  /**
7952
7895
  * Available only in secure contexts.
7953
7896
  *
7954
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
7897
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
7955
7898
  */
7956
7899
  readonly caches: CacheStorage;
7957
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
7900
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
7958
7901
  readonly crossOriginIsolated: boolean;
7959
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */
7902
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
7960
7903
  readonly crypto: Crypto;
7961
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
7904
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
7962
7905
  readonly indexedDB: IDBFactory;
7963
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
7906
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
7964
7907
  readonly isSecureContext: boolean;
7965
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
7908
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
7966
7909
  readonly origin: string;
7967
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */
7910
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
7968
7911
  readonly performance: Performance;
7969
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
7912
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
7970
7913
  atob(data: string): string;
7971
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
7914
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
7972
7915
  btoa(data: string): string;
7973
7916
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
7974
7917
  clearInterval(id: number | undefined): void;
@@ -8175,7 +8118,7 @@ interface Console {
8175
8118
  clear(): void;
8176
8119
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
8177
8120
  count(label?: string): void;
8178
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
8121
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
8179
8122
  countReset(label?: string): void;
8180
8123
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
8181
8124
  debug(...data: any[]): void;
@@ -8187,9 +8130,9 @@ interface Console {
8187
8130
  error(...data: any[]): void;
8188
8131
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
8189
8132
  group(...data: any[]): void;
8190
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
8133
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
8191
8134
  groupCollapsed(...data: any[]): void;
8192
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
8135
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
8193
8136
  groupEnd(): void;
8194
8137
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
8195
8138
  info(...data: any[]): void;
@@ -8199,9 +8142,9 @@ interface Console {
8199
8142
  table(tabularData?: any, properties?: string[]): void;
8200
8143
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
8201
8144
  time(label?: string): void;
8202
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
8145
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
8203
8146
  timeEnd(label?: string): void;
8204
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
8147
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
8205
8148
  timeLog(label?: string, ...data: any[]): void;
8206
8149
  timeStamp(label?: string): void;
8207
8150
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -8224,9 +8167,7 @@ declare namespace WebAssembly {
8224
8167
 
8225
8168
  /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
8226
8169
  interface Global<T extends ValueType = ValueType> {
8227
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
8228
8170
  value: ValueTypeMap[T];
8229
- /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
8230
8171
  valueOf(): ValueTypeMap[T];
8231
8172
  }
8232
8173
 
@@ -8516,24 +8457,24 @@ declare var fonts: FontFaceSet;
8516
8457
  /**
8517
8458
  * Available only in secure contexts.
8518
8459
  *
8519
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
8460
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
8520
8461
  */
8521
8462
  declare var caches: CacheStorage;
8522
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
8463
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
8523
8464
  declare var crossOriginIsolated: boolean;
8524
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crypto_property) */
8465
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
8525
8466
  declare var crypto: Crypto;
8526
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
8467
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
8527
8468
  declare var indexedDB: IDBFactory;
8528
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
8469
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
8529
8470
  declare var isSecureContext: boolean;
8530
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
8471
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
8531
8472
  declare var origin: string;
8532
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/performance_property) */
8473
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
8533
8474
  declare var performance: Performance;
8534
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
8475
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
8535
8476
  declare function atob(data: string): string;
8536
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
8477
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
8537
8478
  declare function btoa(data: string): string;
8538
8479
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
8539
8480
  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/serviceworker",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],