@types/sharedworker 0.0.116 → 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 +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.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/
|
|
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,9 +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;
|
|
5082
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
5083
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5139
5084
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
|
5140
5085
|
revokeObjectURL(url: string): void;
|
|
5141
5086
|
};
|
|
@@ -5960,7 +5905,7 @@ interface WebGL2RenderingContextBase {
|
|
|
5960
5905
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
5961
5906
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
5962
5907
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
5963
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
5908
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
5964
5909
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
5965
5910
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
5966
5911
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -6841,6 +6786,7 @@ declare var WebGLRenderingContext: {
|
|
|
6841
6786
|
};
|
|
6842
6787
|
|
|
6843
6788
|
interface WebGLRenderingContextBase {
|
|
6789
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferColorSpace) */
|
|
6844
6790
|
drawingBufferColorSpace: PredefinedColorSpace;
|
|
6845
6791
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */
|
|
6846
6792
|
readonly drawingBufferHeight: GLsizei;
|
|
@@ -7550,7 +7496,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
7550
7496
|
new(): WebGLVertexArrayObject;
|
|
7551
7497
|
};
|
|
7552
7498
|
|
|
7553
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7499
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
7554
7500
|
interface WebGLVertexArrayObjectOES {
|
|
7555
7501
|
}
|
|
7556
7502
|
|
|
@@ -7740,24 +7686,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7740
7686
|
/**
|
|
7741
7687
|
* Available only in secure contexts.
|
|
7742
7688
|
*
|
|
7743
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
7689
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
7744
7690
|
*/
|
|
7745
7691
|
readonly caches: CacheStorage;
|
|
7746
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
7692
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
7747
7693
|
readonly crossOriginIsolated: boolean;
|
|
7748
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7694
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
7749
7695
|
readonly crypto: Crypto;
|
|
7750
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
7696
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
7751
7697
|
readonly indexedDB: IDBFactory;
|
|
7752
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
7698
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
7753
7699
|
readonly isSecureContext: boolean;
|
|
7754
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
7700
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
7755
7701
|
readonly origin: string;
|
|
7756
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7702
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
7757
7703
|
readonly performance: Performance;
|
|
7758
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
7704
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
7759
7705
|
atob(data: string): string;
|
|
7760
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
7706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
7761
7707
|
btoa(data: string): string;
|
|
7762
7708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
7763
7709
|
clearInterval(id: number | undefined): void;
|
|
@@ -7854,7 +7800,9 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
|
|
|
7854
7800
|
onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
7855
7801
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
7856
7802
|
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
|
|
7803
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
7857
7804
|
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
7805
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
7858
7806
|
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
7859
7807
|
/**
|
|
7860
7808
|
* Returns workerGlobal.
|
|
@@ -8188,7 +8136,7 @@ interface Console {
|
|
|
8188
8136
|
clear(): void;
|
|
8189
8137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8190
8138
|
count(label?: string): void;
|
|
8191
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8139
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
8192
8140
|
countReset(label?: string): void;
|
|
8193
8141
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8194
8142
|
debug(...data: any[]): void;
|
|
@@ -8200,9 +8148,9 @@ interface Console {
|
|
|
8200
8148
|
error(...data: any[]): void;
|
|
8201
8149
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8202
8150
|
group(...data: any[]): void;
|
|
8203
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8151
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
8204
8152
|
groupCollapsed(...data: any[]): void;
|
|
8205
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8153
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
8206
8154
|
groupEnd(): void;
|
|
8207
8155
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8208
8156
|
info(...data: any[]): void;
|
|
@@ -8212,9 +8160,9 @@ interface Console {
|
|
|
8212
8160
|
table(tabularData?: any, properties?: string[]): void;
|
|
8213
8161
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8214
8162
|
time(label?: string): void;
|
|
8215
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8163
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
8216
8164
|
timeEnd(label?: string): void;
|
|
8217
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8165
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
8218
8166
|
timeLog(label?: string, ...data: any[]): void;
|
|
8219
8167
|
timeStamp(label?: string): void;
|
|
8220
8168
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -8237,9 +8185,7 @@ declare namespace WebAssembly {
|
|
|
8237
8185
|
|
|
8238
8186
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
8239
8187
|
interface Global<T extends ValueType = ValueType> {
|
|
8240
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
8241
8188
|
value: ValueTypeMap[T];
|
|
8242
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
8243
8189
|
valueOf(): ValueTypeMap[T];
|
|
8244
8190
|
}
|
|
8245
8191
|
|
|
@@ -8490,7 +8436,9 @@ declare var onlanguagechange: ((this: SharedWorkerGlobalScope, ev: Event) => any
|
|
|
8490
8436
|
declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
|
|
8491
8437
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */
|
|
8492
8438
|
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
|
|
8439
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
|
|
8493
8440
|
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
|
|
8494
8442
|
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
|
|
8495
8443
|
/**
|
|
8496
8444
|
* Returns workerGlobal.
|
|
@@ -8515,24 +8463,24 @@ declare var fonts: FontFaceSet;
|
|
|
8515
8463
|
/**
|
|
8516
8464
|
* Available only in secure contexts.
|
|
8517
8465
|
*
|
|
8518
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
8466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
8519
8467
|
*/
|
|
8520
8468
|
declare var caches: CacheStorage;
|
|
8521
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
8469
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
8522
8470
|
declare var crossOriginIsolated: boolean;
|
|
8523
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8471
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
8524
8472
|
declare var crypto: Crypto;
|
|
8525
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
8473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
8526
8474
|
declare var indexedDB: IDBFactory;
|
|
8527
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
8475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
8528
8476
|
declare var isSecureContext: boolean;
|
|
8529
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
8477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
8530
8478
|
declare var origin: string;
|
|
8531
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8479
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
8532
8480
|
declare var performance: Performance;
|
|
8533
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
8481
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
8534
8482
|
declare function atob(data: string): string;
|
|
8535
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
8483
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
8536
8484
|
declare function btoa(data: string): string;
|
|
8537
8485
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
8538
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
|
|