@types/serviceworker 0.0.88 → 0.0.90
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 +98 -100
- 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.90 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.90.
|
package/index.d.ts
CHANGED
|
@@ -857,6 +857,8 @@ interface Blob {
|
|
|
857
857
|
readonly type: string;
|
|
858
858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
|
|
859
859
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
|
|
861
|
+
bytes(): Promise<Uint8Array>;
|
|
860
862
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
|
861
863
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
862
864
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
|
|
@@ -879,6 +881,8 @@ interface Body {
|
|
|
879
881
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
880
882
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
|
|
881
883
|
blob(): Promise<Blob>;
|
|
884
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
|
|
885
|
+
bytes(): Promise<Uint8Array>;
|
|
882
886
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
|
|
883
887
|
formData(): Promise<FormData>;
|
|
884
888
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
|
|
@@ -1642,6 +1646,8 @@ declare var CloseEvent: {
|
|
|
1642
1646
|
|
|
1643
1647
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
|
|
1644
1648
|
interface CompressionStream extends GenericTransformStream {
|
|
1649
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
1650
|
+
readonly writable: WritableStream<BufferSource>;
|
|
1645
1651
|
}
|
|
1646
1652
|
|
|
1647
1653
|
declare var CompressionStream: {
|
|
@@ -1811,27 +1817,49 @@ declare var DOMException: {
|
|
|
1811
1817
|
|
|
1812
1818
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */
|
|
1813
1819
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
1820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1814
1821
|
a: number;
|
|
1822
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1815
1823
|
b: number;
|
|
1824
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1816
1825
|
c: number;
|
|
1826
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1817
1827
|
d: number;
|
|
1828
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1818
1829
|
e: number;
|
|
1830
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1819
1831
|
f: number;
|
|
1832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1820
1833
|
m11: number;
|
|
1834
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1821
1835
|
m12: number;
|
|
1836
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1822
1837
|
m13: number;
|
|
1838
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1823
1839
|
m14: number;
|
|
1840
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1824
1841
|
m21: number;
|
|
1842
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1825
1843
|
m22: number;
|
|
1844
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1826
1845
|
m23: number;
|
|
1846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1827
1847
|
m24: number;
|
|
1848
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1828
1849
|
m31: number;
|
|
1850
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1829
1851
|
m32: number;
|
|
1852
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1830
1853
|
m33: number;
|
|
1854
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1831
1855
|
m34: number;
|
|
1856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1832
1857
|
m41: number;
|
|
1858
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1833
1859
|
m42: number;
|
|
1860
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1834
1861
|
m43: number;
|
|
1862
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1835
1863
|
m44: number;
|
|
1836
1864
|
invertSelf(): DOMMatrix;
|
|
1837
1865
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
@@ -1839,9 +1867,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
1839
1867
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
1840
1868
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
1841
1869
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
1842
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
1843
1870
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1844
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
1845
1871
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1846
1872
|
skewXSelf(sx?: number): DOMMatrix;
|
|
1847
1873
|
skewYSelf(sy?: number): DOMMatrix;
|
|
@@ -1858,88 +1884,70 @@ declare var DOMMatrix: {
|
|
|
1858
1884
|
|
|
1859
1885
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
|
|
1860
1886
|
interface DOMMatrixReadOnly {
|
|
1861
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1887
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1862
1888
|
readonly a: number;
|
|
1863
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1889
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1864
1890
|
readonly b: number;
|
|
1865
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1891
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1866
1892
|
readonly c: number;
|
|
1867
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1893
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1868
1894
|
readonly d: number;
|
|
1869
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1895
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1870
1896
|
readonly e: number;
|
|
1871
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1897
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1872
1898
|
readonly f: number;
|
|
1873
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
1874
1899
|
readonly is2D: boolean;
|
|
1875
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
1876
1900
|
readonly isIdentity: boolean;
|
|
1877
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1878
1902
|
readonly m11: number;
|
|
1879
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1880
1904
|
readonly m12: number;
|
|
1881
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1882
1906
|
readonly m13: number;
|
|
1883
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1884
1908
|
readonly m14: number;
|
|
1885
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1909
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1886
1910
|
readonly m21: number;
|
|
1887
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1911
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1888
1912
|
readonly m22: number;
|
|
1889
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1913
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1890
1914
|
readonly m23: number;
|
|
1891
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1915
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1892
1916
|
readonly m24: number;
|
|
1893
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1894
1918
|
readonly m31: number;
|
|
1895
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1919
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1896
1920
|
readonly m32: number;
|
|
1897
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1921
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1898
1922
|
readonly m33: number;
|
|
1899
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1923
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1900
1924
|
readonly m34: number;
|
|
1901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1925
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1902
1926
|
readonly m41: number;
|
|
1903
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1927
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1904
1928
|
readonly m42: number;
|
|
1905
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1929
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1906
1930
|
readonly m43: number;
|
|
1907
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1931
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1908
1932
|
readonly m44: number;
|
|
1909
1933
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
1910
1934
|
flipX(): DOMMatrix;
|
|
1911
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
1912
1935
|
flipY(): DOMMatrix;
|
|
1913
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
1914
1936
|
inverse(): DOMMatrix;
|
|
1915
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
1916
1937
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
1917
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
|
|
1918
1938
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
1919
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
|
|
1920
1939
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
1921
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
|
|
1922
1940
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
1923
1941
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
|
|
1924
1942
|
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
1943
|
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
|
-
*/
|
|
1944
|
+
/** @deprecated */
|
|
1932
1945
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
1933
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
|
|
1934
1946
|
skewX(sx?: number): DOMMatrix;
|
|
1935
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
|
|
1936
1947
|
skewY(sy?: number): DOMMatrix;
|
|
1937
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
1938
1948
|
toFloat32Array(): Float32Array;
|
|
1939
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
1940
1949
|
toFloat64Array(): Float64Array;
|
|
1941
1950
|
toJSON(): any;
|
|
1942
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
1943
1951
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
1944
1952
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
1945
1953
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -1982,7 +1990,6 @@ interface DOMPointReadOnly {
|
|
|
1982
1990
|
readonly y: number;
|
|
1983
1991
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
1984
1992
|
readonly z: number;
|
|
1985
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
1986
1993
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
1987
1994
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
1988
1995
|
toJSON(): any;
|
|
@@ -1997,15 +2004,10 @@ declare var DOMPointReadOnly: {
|
|
|
1997
2004
|
|
|
1998
2005
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
|
|
1999
2006
|
interface DOMQuad {
|
|
2000
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
2001
2007
|
readonly p1: DOMPoint;
|
|
2002
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
|
|
2003
2008
|
readonly p2: DOMPoint;
|
|
2004
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
|
|
2005
2009
|
readonly p3: DOMPoint;
|
|
2006
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
|
|
2007
2010
|
readonly p4: DOMPoint;
|
|
2008
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
|
|
2009
2011
|
getBounds(): DOMRect;
|
|
2010
2012
|
toJSON(): any;
|
|
2011
2013
|
}
|
|
@@ -2028,6 +2030,7 @@ interface DOMRect extends DOMRectReadOnly {
|
|
|
2028
2030
|
declare var DOMRect: {
|
|
2029
2031
|
prototype: DOMRect;
|
|
2030
2032
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2033
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
|
|
2031
2034
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
2032
2035
|
};
|
|
2033
2036
|
|
|
@@ -2093,6 +2096,8 @@ declare var DOMStringList: {
|
|
|
2093
2096
|
|
|
2094
2097
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
|
|
2095
2098
|
interface DecompressionStream extends GenericTransformStream {
|
|
2099
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
2100
|
+
readonly writable: WritableStream<BufferSource>;
|
|
2096
2101
|
}
|
|
2097
2102
|
|
|
2098
2103
|
declare var DecompressionStream: {
|
|
@@ -2186,15 +2191,10 @@ interface EXT_texture_norm16 {
|
|
|
2186
2191
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2187
2192
|
*/
|
|
2188
2193
|
interface ErrorEvent extends Event {
|
|
2189
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
2190
2194
|
readonly colno: number;
|
|
2191
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
2192
2195
|
readonly error: any;
|
|
2193
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
2194
2196
|
readonly filename: string;
|
|
2195
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
2196
2197
|
readonly lineno: number;
|
|
2197
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
2198
2198
|
readonly message: string;
|
|
2199
2199
|
}
|
|
2200
2200
|
|
|
@@ -2748,7 +2748,7 @@ interface FontFaceSet extends EventTarget {
|
|
|
2748
2748
|
|
|
2749
2749
|
declare var FontFaceSet: {
|
|
2750
2750
|
prototype: FontFaceSet;
|
|
2751
|
-
new(
|
|
2751
|
+
new(): FontFaceSet;
|
|
2752
2752
|
};
|
|
2753
2753
|
|
|
2754
2754
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */
|
|
@@ -3459,7 +3459,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
3459
3459
|
/**
|
|
3460
3460
|
* 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
3461
|
*
|
|
3462
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
3462
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
|
|
3463
3463
|
*/
|
|
3464
3464
|
readonly objectStoreNames: DOMStringList;
|
|
3465
3465
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -3705,11 +3705,7 @@ interface MessageEvent<T = any> extends Event {
|
|
|
3705
3705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
3706
3706
|
*/
|
|
3707
3707
|
readonly source: MessageEventSource | null;
|
|
3708
|
-
/**
|
|
3709
|
-
* @deprecated
|
|
3710
|
-
*
|
|
3711
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
3712
|
-
*/
|
|
3708
|
+
/** @deprecated */
|
|
3713
3709
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
3714
3710
|
}
|
|
3715
3711
|
|
|
@@ -4041,7 +4037,9 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
4041
4037
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
|
|
4042
4038
|
*/
|
|
4043
4039
|
height: number;
|
|
4040
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
|
|
4044
4041
|
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
4042
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
|
|
4045
4043
|
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
4046
4044
|
/**
|
|
4047
4045
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -4092,6 +4090,7 @@ declare var OffscreenCanvas: {
|
|
|
4092
4090
|
|
|
4093
4091
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
4094
4092
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4093
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
4095
4094
|
readonly canvas: OffscreenCanvas;
|
|
4096
4095
|
}
|
|
4097
4096
|
|
|
@@ -4285,6 +4284,8 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
4285
4284
|
readonly responseEnd: DOMHighResTimeStamp;
|
|
4286
4285
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */
|
|
4287
4286
|
readonly responseStart: DOMHighResTimeStamp;
|
|
4287
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */
|
|
4288
|
+
readonly responseStatus: number;
|
|
4288
4289
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */
|
|
4289
4290
|
readonly secureConnectionStart: DOMHighResTimeStamp;
|
|
4290
4291
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */
|
|
@@ -4435,6 +4436,8 @@ interface PushMessageData {
|
|
|
4435
4436
|
arrayBuffer(): ArrayBuffer;
|
|
4436
4437
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/blob) */
|
|
4437
4438
|
blob(): Blob;
|
|
4439
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes) */
|
|
4440
|
+
bytes(): Uint8Array;
|
|
4438
4441
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json) */
|
|
4439
4442
|
json(): any;
|
|
4440
4443
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text) */
|
|
@@ -4547,7 +4550,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
4547
4550
|
|
|
4548
4551
|
declare var ReadableStreamBYOBReader: {
|
|
4549
4552
|
prototype: ReadableStreamBYOBReader;
|
|
4550
|
-
new(stream: ReadableStream): ReadableStreamBYOBReader;
|
|
4553
|
+
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
4551
4554
|
};
|
|
4552
4555
|
|
|
4553
4556
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
|
|
@@ -4620,6 +4623,7 @@ declare var Report: {
|
|
|
4620
4623
|
|
|
4621
4624
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
|
|
4622
4625
|
interface ReportBody {
|
|
4626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4623
4627
|
toJSON(): any;
|
|
4624
4628
|
}
|
|
4625
4629
|
|
|
@@ -4679,11 +4683,7 @@ interface Request extends Body {
|
|
|
4679
4683
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
4680
4684
|
*/
|
|
4681
4685
|
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
|
-
*/
|
|
4686
|
+
/** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
|
|
4687
4687
|
readonly keepalive: boolean;
|
|
4688
4688
|
/**
|
|
4689
4689
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -5030,7 +5030,7 @@ interface SubtleCrypto {
|
|
|
5030
5030
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
|
|
5031
5031
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
5032
5032
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
|
|
5033
|
-
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length
|
|
5033
|
+
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;
|
|
5034
5034
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
5035
5035
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
5036
5036
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
|
|
@@ -5324,9 +5324,9 @@ declare var URL: {
|
|
|
5324
5324
|
prototype: URL;
|
|
5325
5325
|
new(url: string | URL, base?: string | URL): URL;
|
|
5326
5326
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
5327
|
-
canParse(url: string | URL, base?: string): boolean;
|
|
5327
|
+
canParse(url: string | URL, base?: string | URL): boolean;
|
|
5328
5328
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
5329
|
-
parse(url: string | URL, base?: string): URL | null;
|
|
5329
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5330
5330
|
};
|
|
5331
5331
|
|
|
5332
5332
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
|
|
@@ -6149,7 +6149,7 @@ interface WebGL2RenderingContextBase {
|
|
|
6149
6149
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
6150
6150
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
6151
6151
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
6152
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
6152
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
6153
6153
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
6154
6154
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
6155
6155
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -7740,7 +7740,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
7740
7740
|
new(): WebGLVertexArrayObject;
|
|
7741
7741
|
};
|
|
7742
7742
|
|
|
7743
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7743
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
7744
7744
|
interface WebGLVertexArrayObjectOES {
|
|
7745
7745
|
}
|
|
7746
7746
|
|
|
@@ -7951,24 +7951,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7951
7951
|
/**
|
|
7952
7952
|
* Available only in secure contexts.
|
|
7953
7953
|
*
|
|
7954
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
7954
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
7955
7955
|
*/
|
|
7956
7956
|
readonly caches: CacheStorage;
|
|
7957
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
7957
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
7958
7958
|
readonly crossOriginIsolated: boolean;
|
|
7959
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
7960
7960
|
readonly crypto: Crypto;
|
|
7961
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
7961
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
7962
7962
|
readonly indexedDB: IDBFactory;
|
|
7963
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
7963
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
7964
7964
|
readonly isSecureContext: boolean;
|
|
7965
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
7965
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
7966
7966
|
readonly origin: string;
|
|
7967
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7967
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
7968
7968
|
readonly performance: Performance;
|
|
7969
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
7969
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
7970
7970
|
atob(data: string): string;
|
|
7971
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
7971
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
7972
7972
|
btoa(data: string): string;
|
|
7973
7973
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
7974
7974
|
clearInterval(id: number | undefined): void;
|
|
@@ -7977,7 +7977,7 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7977
7977
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
7978
7978
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
7979
7979
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
7980
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
7980
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
7981
7981
|
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
7982
7982
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
7983
7983
|
queueMicrotask(callback: VoidFunction): void;
|
|
@@ -8175,7 +8175,7 @@ interface Console {
|
|
|
8175
8175
|
clear(): void;
|
|
8176
8176
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8177
8177
|
count(label?: string): void;
|
|
8178
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8178
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
8179
8179
|
countReset(label?: string): void;
|
|
8180
8180
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8181
8181
|
debug(...data: any[]): void;
|
|
@@ -8187,9 +8187,9 @@ interface Console {
|
|
|
8187
8187
|
error(...data: any[]): void;
|
|
8188
8188
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8189
8189
|
group(...data: any[]): void;
|
|
8190
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8190
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
8191
8191
|
groupCollapsed(...data: any[]): void;
|
|
8192
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8192
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
8193
8193
|
groupEnd(): void;
|
|
8194
8194
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8195
8195
|
info(...data: any[]): void;
|
|
@@ -8199,9 +8199,9 @@ interface Console {
|
|
|
8199
8199
|
table(tabularData?: any, properties?: string[]): void;
|
|
8200
8200
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8201
8201
|
time(label?: string): void;
|
|
8202
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8202
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
8203
8203
|
timeEnd(label?: string): void;
|
|
8204
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8204
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
8205
8205
|
timeLog(label?: string, ...data: any[]): void;
|
|
8206
8206
|
timeStamp(label?: string): void;
|
|
8207
8207
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -8224,9 +8224,7 @@ declare namespace WebAssembly {
|
|
|
8224
8224
|
|
|
8225
8225
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
8226
8226
|
interface Global<T extends ValueType = ValueType> {
|
|
8227
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
8228
8227
|
value: ValueTypeMap[T];
|
|
8229
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
8230
8228
|
valueOf(): ValueTypeMap[T];
|
|
8231
8229
|
}
|
|
8232
8230
|
|
|
@@ -8516,24 +8514,24 @@ declare var fonts: FontFaceSet;
|
|
|
8516
8514
|
/**
|
|
8517
8515
|
* Available only in secure contexts.
|
|
8518
8516
|
*
|
|
8519
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
8517
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
8520
8518
|
*/
|
|
8521
8519
|
declare var caches: CacheStorage;
|
|
8522
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
8520
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
8523
8521
|
declare var crossOriginIsolated: boolean;
|
|
8524
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
8525
8523
|
declare var crypto: Crypto;
|
|
8526
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
8524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
8527
8525
|
declare var indexedDB: IDBFactory;
|
|
8528
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
8526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
8529
8527
|
declare var isSecureContext: boolean;
|
|
8530
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
8528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
8531
8529
|
declare var origin: string;
|
|
8532
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
8533
8531
|
declare var performance: Performance;
|
|
8534
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
8532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
8535
8533
|
declare function atob(data: string): string;
|
|
8536
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
8534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
8537
8535
|
declare function btoa(data: string): string;
|
|
8538
8536
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
8539
8537
|
declare function clearInterval(id: number | undefined): void;
|
|
@@ -8542,7 +8540,7 @@ declare function clearTimeout(id: number | undefined): void;
|
|
|
8542
8540
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
8543
8541
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
8544
8542
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
8545
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
8543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
8546
8544
|
declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
8547
8545
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
8548
8546
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
@@ -8650,7 +8648,7 @@ type MediaEncodingType = "record" | "webrtc";
|
|
|
8650
8648
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
8651
8649
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
8652
8650
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
8653
|
-
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "
|
|
8651
|
+
type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
8654
8652
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
8655
8653
|
type PredefinedColorSpace = "display-p3" | "srgb";
|
|
8656
8654
|
type PremultiplyAlpha = "default" | "none" | "premultiply";
|
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
|
|