@types/serviceworker 0.0.87 → 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 +1 -1
- package/index.d.ts +41 -93
- package/iterable.d.ts +1 -5
- package/package.json +1 -1
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.
|
|
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/
|
|
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,7 +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;
|
|
5271
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
5272
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5328
5273
|
};
|
|
5329
5274
|
|
|
5330
5275
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
|
|
@@ -6147,7 +6092,7 @@ interface WebGL2RenderingContextBase {
|
|
|
6147
6092
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
6148
6093
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
6149
6094
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
6150
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
6095
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
6151
6096
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
6152
6097
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
6153
6098
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -7028,6 +6973,7 @@ declare var WebGLRenderingContext: {
|
|
|
7028
6973
|
};
|
|
7029
6974
|
|
|
7030
6975
|
interface WebGLRenderingContextBase {
|
|
6976
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
|
|
7031
6977
|
drawingBufferColorSpace: PredefinedColorSpace;
|
|
7032
6978
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
|
|
7033
6979
|
readonly drawingBufferHeight: GLsizei;
|
|
@@ -7737,7 +7683,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
7737
7683
|
new(): WebGLVertexArrayObject;
|
|
7738
7684
|
};
|
|
7739
7685
|
|
|
7740
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7686
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
7741
7687
|
interface WebGLVertexArrayObjectOES {
|
|
7742
7688
|
}
|
|
7743
7689
|
|
|
@@ -7948,24 +7894,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7948
7894
|
/**
|
|
7949
7895
|
* Available only in secure contexts.
|
|
7950
7896
|
*
|
|
7951
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
7897
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
7952
7898
|
*/
|
|
7953
7899
|
readonly caches: CacheStorage;
|
|
7954
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
7900
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
7955
7901
|
readonly crossOriginIsolated: boolean;
|
|
7956
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7902
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
7957
7903
|
readonly crypto: Crypto;
|
|
7958
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
7904
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
7959
7905
|
readonly indexedDB: IDBFactory;
|
|
7960
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
7906
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
7961
7907
|
readonly isSecureContext: boolean;
|
|
7962
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
7908
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
7963
7909
|
readonly origin: string;
|
|
7964
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
7965
7911
|
readonly performance: Performance;
|
|
7966
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
7912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
7967
7913
|
atob(data: string): string;
|
|
7968
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
7914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
7969
7915
|
btoa(data: string): string;
|
|
7970
7916
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
7971
7917
|
clearInterval(id: number | undefined): void;
|
|
@@ -8023,7 +7969,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
|
|
|
8023
7969
|
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
8024
7970
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
8025
7971
|
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
7972
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
8026
7973
|
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
7974
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
8027
7975
|
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8028
7976
|
/**
|
|
8029
7977
|
* Returns workerGlobal.
|
|
@@ -8170,7 +8118,7 @@ interface Console {
|
|
|
8170
8118
|
clear(): void;
|
|
8171
8119
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8172
8120
|
count(label?: string): void;
|
|
8173
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8121
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
8174
8122
|
countReset(label?: string): void;
|
|
8175
8123
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8176
8124
|
debug(...data: any[]): void;
|
|
@@ -8182,9 +8130,9 @@ interface Console {
|
|
|
8182
8130
|
error(...data: any[]): void;
|
|
8183
8131
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8184
8132
|
group(...data: any[]): void;
|
|
8185
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8133
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
8186
8134
|
groupCollapsed(...data: any[]): void;
|
|
8187
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8135
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
8188
8136
|
groupEnd(): void;
|
|
8189
8137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8190
8138
|
info(...data: any[]): void;
|
|
@@ -8194,9 +8142,9 @@ interface Console {
|
|
|
8194
8142
|
table(tabularData?: any, properties?: string[]): void;
|
|
8195
8143
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8196
8144
|
time(label?: string): void;
|
|
8197
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8145
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
8198
8146
|
timeEnd(label?: string): void;
|
|
8199
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
8200
8148
|
timeLog(label?: string, ...data: any[]): void;
|
|
8201
8149
|
timeStamp(label?: string): void;
|
|
8202
8150
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -8219,9 +8167,7 @@ declare namespace WebAssembly {
|
|
|
8219
8167
|
|
|
8220
8168
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
8221
8169
|
interface Global<T extends ValueType = ValueType> {
|
|
8222
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
8223
8170
|
value: ValueTypeMap[T];
|
|
8224
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
8225
8171
|
valueOf(): ValueTypeMap[T];
|
|
8226
8172
|
}
|
|
8227
8173
|
|
|
@@ -8484,7 +8430,9 @@ declare var onlanguagechange: ((this: ServiceWorkerGlobalScope, ev: Event) => an
|
|
|
8484
8430
|
declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
|
|
8485
8431
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
8486
8432
|
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
|
|
8433
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
8487
8434
|
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8435
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
8488
8436
|
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8489
8437
|
/**
|
|
8490
8438
|
* Returns workerGlobal.
|
|
@@ -8509,24 +8457,24 @@ declare var fonts: FontFaceSet;
|
|
|
8509
8457
|
/**
|
|
8510
8458
|
* Available only in secure contexts.
|
|
8511
8459
|
*
|
|
8512
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
8460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
8513
8461
|
*/
|
|
8514
8462
|
declare var caches: CacheStorage;
|
|
8515
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
8463
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
8516
8464
|
declare var crossOriginIsolated: boolean;
|
|
8517
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8465
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
8518
8466
|
declare var crypto: Crypto;
|
|
8519
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
8467
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
8520
8468
|
declare var indexedDB: IDBFactory;
|
|
8521
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
8469
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
8522
8470
|
declare var isSecureContext: boolean;
|
|
8523
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
8471
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
8524
8472
|
declare var origin: string;
|
|
8525
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
8526
8474
|
declare var performance: Performance;
|
|
8527
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
8475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
8528
8476
|
declare function atob(data: string): string;
|
|
8529
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
8477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
8530
8478
|
declare function btoa(data: string): string;
|
|
8531
8479
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
8532
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
|
|