@types/sharedworker 0.0.117 → 0.0.119
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 +96 -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.119 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.119.
|
package/index.d.ts
CHANGED
|
@@ -829,6 +829,8 @@ interface Blob {
|
|
|
829
829
|
readonly type: string;
|
|
830
830
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
|
|
831
831
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
|
|
833
|
+
bytes(): Promise<Uint8Array>;
|
|
832
834
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
|
833
835
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
834
836
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
|
|
@@ -851,6 +853,8 @@ interface Body {
|
|
|
851
853
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
852
854
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
|
|
853
855
|
blob(): Promise<Blob>;
|
|
856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
|
|
857
|
+
bytes(): Promise<Uint8Array>;
|
|
854
858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
|
|
855
859
|
formData(): Promise<FormData>;
|
|
856
860
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
|
|
@@ -1569,6 +1573,8 @@ declare var CloseEvent: {
|
|
|
1569
1573
|
|
|
1570
1574
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
|
|
1571
1575
|
interface CompressionStream extends GenericTransformStream {
|
|
1576
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
1577
|
+
readonly writable: WritableStream<BufferSource>;
|
|
1572
1578
|
}
|
|
1573
1579
|
|
|
1574
1580
|
declare var CompressionStream: {
|
|
@@ -1738,27 +1744,49 @@ declare var DOMException: {
|
|
|
1738
1744
|
|
|
1739
1745
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */
|
|
1740
1746
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
1747
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1741
1748
|
a: number;
|
|
1749
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1742
1750
|
b: number;
|
|
1751
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1743
1752
|
c: number;
|
|
1753
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1744
1754
|
d: number;
|
|
1755
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1745
1756
|
e: number;
|
|
1757
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1746
1758
|
f: number;
|
|
1759
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1747
1760
|
m11: number;
|
|
1761
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1748
1762
|
m12: number;
|
|
1763
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1749
1764
|
m13: number;
|
|
1765
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1750
1766
|
m14: number;
|
|
1767
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1751
1768
|
m21: number;
|
|
1769
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1752
1770
|
m22: number;
|
|
1771
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1753
1772
|
m23: number;
|
|
1773
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1754
1774
|
m24: number;
|
|
1775
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1755
1776
|
m31: number;
|
|
1777
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1756
1778
|
m32: number;
|
|
1779
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1757
1780
|
m33: number;
|
|
1781
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1758
1782
|
m34: number;
|
|
1783
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1759
1784
|
m41: number;
|
|
1785
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1760
1786
|
m42: number;
|
|
1787
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1761
1788
|
m43: number;
|
|
1789
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1762
1790
|
m44: number;
|
|
1763
1791
|
invertSelf(): DOMMatrix;
|
|
1764
1792
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
@@ -1766,9 +1794,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
1766
1794
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
1767
1795
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
|
1768
1796
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
1769
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
1770
1797
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1771
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
1772
1798
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1773
1799
|
skewXSelf(sx?: number): DOMMatrix;
|
|
1774
1800
|
skewYSelf(sy?: number): DOMMatrix;
|
|
@@ -1785,88 +1811,70 @@ declare var DOMMatrix: {
|
|
|
1785
1811
|
|
|
1786
1812
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
|
|
1787
1813
|
interface DOMMatrixReadOnly {
|
|
1788
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1789
1815
|
readonly a: number;
|
|
1790
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1791
1817
|
readonly b: number;
|
|
1792
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1818
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1793
1819
|
readonly c: number;
|
|
1794
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1795
1821
|
readonly d: number;
|
|
1796
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1822
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1797
1823
|
readonly e: number;
|
|
1798
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1824
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1799
1825
|
readonly f: number;
|
|
1800
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D) */
|
|
1801
1826
|
readonly is2D: boolean;
|
|
1802
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity) */
|
|
1803
1827
|
readonly isIdentity: boolean;
|
|
1804
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1828
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1805
1829
|
readonly m11: number;
|
|
1806
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1830
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1807
1831
|
readonly m12: number;
|
|
1808
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1809
1833
|
readonly m13: number;
|
|
1810
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1834
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1811
1835
|
readonly m14: number;
|
|
1812
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1836
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1813
1837
|
readonly m21: number;
|
|
1814
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1838
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1815
1839
|
readonly m22: number;
|
|
1816
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1840
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1817
1841
|
readonly m23: number;
|
|
1818
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1842
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1819
1843
|
readonly m24: number;
|
|
1820
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1844
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1821
1845
|
readonly m31: number;
|
|
1822
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1823
1847
|
readonly m32: number;
|
|
1824
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1848
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1825
1849
|
readonly m33: number;
|
|
1826
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1850
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1827
1851
|
readonly m34: number;
|
|
1828
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1852
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1829
1853
|
readonly m41: number;
|
|
1830
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1854
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1831
1855
|
readonly m42: number;
|
|
1832
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1856
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1833
1857
|
readonly m43: number;
|
|
1834
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly
|
|
1858
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1835
1859
|
readonly m44: number;
|
|
1836
1860
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
1837
1861
|
flipX(): DOMMatrix;
|
|
1838
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY) */
|
|
1839
1862
|
flipY(): DOMMatrix;
|
|
1840
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse) */
|
|
1841
1863
|
inverse(): DOMMatrix;
|
|
1842
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
|
1843
1864
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
|
1844
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
|
|
1845
1865
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
1846
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
|
|
1847
1866
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
|
1848
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
|
|
1849
1867
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
1850
1868
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
|
|
1851
1869
|
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
1870
|
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
|
-
*/
|
|
1871
|
+
/** @deprecated */
|
|
1859
1872
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
|
1860
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
|
|
1861
1873
|
skewX(sx?: number): DOMMatrix;
|
|
1862
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
|
|
1863
1874
|
skewY(sy?: number): DOMMatrix;
|
|
1864
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
|
1865
1875
|
toFloat32Array(): Float32Array;
|
|
1866
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
|
1867
1876
|
toFloat64Array(): Float64Array;
|
|
1868
1877
|
toJSON(): any;
|
|
1869
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
|
1870
1878
|
transformPoint(point?: DOMPointInit): DOMPoint;
|
|
1871
1879
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate) */
|
|
1872
1880
|
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
|
|
@@ -1909,7 +1917,6 @@ interface DOMPointReadOnly {
|
|
|
1909
1917
|
readonly y: number;
|
|
1910
1918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z) */
|
|
1911
1919
|
readonly z: number;
|
|
1912
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform) */
|
|
1913
1920
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
1914
1921
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON) */
|
|
1915
1922
|
toJSON(): any;
|
|
@@ -1924,15 +1931,10 @@ declare var DOMPointReadOnly: {
|
|
|
1924
1931
|
|
|
1925
1932
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
|
|
1926
1933
|
interface DOMQuad {
|
|
1927
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
1928
1934
|
readonly p1: DOMPoint;
|
|
1929
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
|
|
1930
1935
|
readonly p2: DOMPoint;
|
|
1931
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
|
|
1932
1936
|
readonly p3: DOMPoint;
|
|
1933
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
|
|
1934
1937
|
readonly p4: DOMPoint;
|
|
1935
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
|
|
1936
1938
|
getBounds(): DOMRect;
|
|
1937
1939
|
toJSON(): any;
|
|
1938
1940
|
}
|
|
@@ -1955,6 +1957,7 @@ interface DOMRect extends DOMRectReadOnly {
|
|
|
1955
1957
|
declare var DOMRect: {
|
|
1956
1958
|
prototype: DOMRect;
|
|
1957
1959
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
1960
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
|
|
1958
1961
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
1959
1962
|
};
|
|
1960
1963
|
|
|
@@ -2020,6 +2023,8 @@ declare var DOMStringList: {
|
|
|
2020
2023
|
|
|
2021
2024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
|
|
2022
2025
|
interface DecompressionStream extends GenericTransformStream {
|
|
2026
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
2027
|
+
readonly writable: WritableStream<BufferSource>;
|
|
2023
2028
|
}
|
|
2024
2029
|
|
|
2025
2030
|
declare var DecompressionStream: {
|
|
@@ -2113,15 +2118,10 @@ interface EXT_texture_norm16 {
|
|
|
2113
2118
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2114
2119
|
*/
|
|
2115
2120
|
interface ErrorEvent extends Event {
|
|
2116
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
2117
2121
|
readonly colno: number;
|
|
2118
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
2119
2122
|
readonly error: any;
|
|
2120
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
2121
2123
|
readonly filename: string;
|
|
2122
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
2123
2124
|
readonly lineno: number;
|
|
2124
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
2125
2125
|
readonly message: string;
|
|
2126
2126
|
}
|
|
2127
2127
|
|
|
@@ -2637,7 +2637,7 @@ interface FontFaceSet extends EventTarget {
|
|
|
2637
2637
|
|
|
2638
2638
|
declare var FontFaceSet: {
|
|
2639
2639
|
prototype: FontFaceSet;
|
|
2640
|
-
new(
|
|
2640
|
+
new(): FontFaceSet;
|
|
2641
2641
|
};
|
|
2642
2642
|
|
|
2643
2643
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */
|
|
@@ -3348,7 +3348,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
3348
3348
|
/**
|
|
3349
3349
|
* 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
3350
|
*
|
|
3351
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
3351
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
|
|
3352
3352
|
*/
|
|
3353
3353
|
readonly objectStoreNames: DOMStringList;
|
|
3354
3354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -3594,11 +3594,7 @@ interface MessageEvent<T = any> extends Event {
|
|
|
3594
3594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
3595
3595
|
*/
|
|
3596
3596
|
readonly source: MessageEventSource | null;
|
|
3597
|
-
/**
|
|
3598
|
-
* @deprecated
|
|
3599
|
-
*
|
|
3600
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
|
|
3601
|
-
*/
|
|
3597
|
+
/** @deprecated */
|
|
3602
3598
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
|
3603
3599
|
}
|
|
3604
3600
|
|
|
@@ -3913,7 +3909,9 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
3913
3909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)
|
|
3914
3910
|
*/
|
|
3915
3911
|
height: number;
|
|
3912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */
|
|
3916
3913
|
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
3914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */
|
|
3917
3915
|
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
3918
3916
|
/**
|
|
3919
3917
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -3964,6 +3962,7 @@ declare var OffscreenCanvas: {
|
|
|
3964
3962
|
|
|
3965
3963
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
3966
3964
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
3965
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
3967
3966
|
readonly canvas: OffscreenCanvas;
|
|
3968
3967
|
}
|
|
3969
3968
|
|
|
@@ -4157,6 +4156,8 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
4157
4156
|
readonly responseEnd: DOMHighResTimeStamp;
|
|
4158
4157
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */
|
|
4159
4158
|
readonly responseStart: DOMHighResTimeStamp;
|
|
4159
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */
|
|
4160
|
+
readonly responseStatus: number;
|
|
4160
4161
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */
|
|
4161
4162
|
readonly secureConnectionStart: DOMHighResTimeStamp;
|
|
4162
4163
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */
|
|
@@ -4381,7 +4382,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
4381
4382
|
|
|
4382
4383
|
declare var ReadableStreamBYOBReader: {
|
|
4383
4384
|
prototype: ReadableStreamBYOBReader;
|
|
4384
|
-
new(stream: ReadableStream): ReadableStreamBYOBReader;
|
|
4385
|
+
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
4385
4386
|
};
|
|
4386
4387
|
|
|
4387
4388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
|
|
@@ -4454,6 +4455,7 @@ declare var Report: {
|
|
|
4454
4455
|
|
|
4455
4456
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody) */
|
|
4456
4457
|
interface ReportBody {
|
|
4458
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4457
4459
|
toJSON(): any;
|
|
4458
4460
|
}
|
|
4459
4461
|
|
|
@@ -4513,11 +4515,7 @@ interface Request extends Body {
|
|
|
4513
4515
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
4514
4516
|
*/
|
|
4515
4517
|
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
|
-
*/
|
|
4518
|
+
/** Returns a boolean indicating whether or not request can outlive the global in which it was created. */
|
|
4521
4519
|
readonly keepalive: boolean;
|
|
4522
4520
|
/**
|
|
4523
4521
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -4839,7 +4837,7 @@ interface SubtleCrypto {
|
|
|
4839
4837
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
|
|
4840
4838
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
4841
4839
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
|
|
4842
|
-
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length
|
|
4840
|
+
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;
|
|
4843
4841
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
4844
4842
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
4845
4843
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
|
|
@@ -5133,11 +5131,11 @@ declare var URL: {
|
|
|
5133
5131
|
prototype: URL;
|
|
5134
5132
|
new(url: string | URL, base?: string | URL): URL;
|
|
5135
5133
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
|
|
5136
|
-
canParse(url: string | URL, base?: string): boolean;
|
|
5134
|
+
canParse(url: string | URL, base?: string | URL): boolean;
|
|
5137
5135
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static) */
|
|
5138
5136
|
createObjectURL(obj: Blob): string;
|
|
5139
5137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
|
|
5140
|
-
parse(url: string | URL, base?: string): URL | null;
|
|
5138
|
+
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5141
5139
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static) */
|
|
5142
5140
|
revokeObjectURL(url: string): void;
|
|
5143
5141
|
};
|
|
@@ -5962,7 +5960,7 @@ interface WebGL2RenderingContextBase {
|
|
|
5962
5960
|
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
5963
5961
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
5964
5962
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
5965
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
5963
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
5966
5964
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
5967
5965
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
5968
5966
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
@@ -7553,7 +7551,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
7553
7551
|
new(): WebGLVertexArrayObject;
|
|
7554
7552
|
};
|
|
7555
7553
|
|
|
7556
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */
|
|
7557
7555
|
interface WebGLVertexArrayObjectOES {
|
|
7558
7556
|
}
|
|
7559
7557
|
|
|
@@ -7743,24 +7741,24 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7743
7741
|
/**
|
|
7744
7742
|
* Available only in secure contexts.
|
|
7745
7743
|
*
|
|
7746
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
7744
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
7747
7745
|
*/
|
|
7748
7746
|
readonly caches: CacheStorage;
|
|
7749
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
7747
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
7750
7748
|
readonly crossOriginIsolated: boolean;
|
|
7751
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7749
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
7752
7750
|
readonly crypto: Crypto;
|
|
7753
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
7751
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
7754
7752
|
readonly indexedDB: IDBFactory;
|
|
7755
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
7753
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
7756
7754
|
readonly isSecureContext: boolean;
|
|
7757
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
7755
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
7758
7756
|
readonly origin: string;
|
|
7759
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
7757
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
7760
7758
|
readonly performance: Performance;
|
|
7761
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
7759
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
7762
7760
|
atob(data: string): string;
|
|
7763
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
7761
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
7764
7762
|
btoa(data: string): string;
|
|
7765
7763
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
7766
7764
|
clearInterval(id: number | undefined): void;
|
|
@@ -7769,7 +7767,7 @@ interface WindowOrWorkerGlobalScope {
|
|
|
7769
7767
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
7770
7768
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
7771
7769
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
7772
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
7770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
7773
7771
|
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
7774
7772
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
7775
7773
|
queueMicrotask(callback: VoidFunction): void;
|
|
@@ -8193,7 +8191,7 @@ interface Console {
|
|
|
8193
8191
|
clear(): void;
|
|
8194
8192
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8195
8193
|
count(label?: string): void;
|
|
8196
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8194
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
|
|
8197
8195
|
countReset(label?: string): void;
|
|
8198
8196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8199
8197
|
debug(...data: any[]): void;
|
|
@@ -8205,9 +8203,9 @@ interface Console {
|
|
|
8205
8203
|
error(...data: any[]): void;
|
|
8206
8204
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8207
8205
|
group(...data: any[]): void;
|
|
8208
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8206
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
|
|
8209
8207
|
groupCollapsed(...data: any[]): void;
|
|
8210
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8208
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
|
|
8211
8209
|
groupEnd(): void;
|
|
8212
8210
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8213
8211
|
info(...data: any[]): void;
|
|
@@ -8217,9 +8215,9 @@ interface Console {
|
|
|
8217
8215
|
table(tabularData?: any, properties?: string[]): void;
|
|
8218
8216
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8219
8217
|
time(label?: string): void;
|
|
8220
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8218
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
|
|
8221
8219
|
timeEnd(label?: string): void;
|
|
8222
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8220
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
|
|
8223
8221
|
timeLog(label?: string, ...data: any[]): void;
|
|
8224
8222
|
timeStamp(label?: string): void;
|
|
8225
8223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -8242,9 +8240,7 @@ declare namespace WebAssembly {
|
|
|
8242
8240
|
|
|
8243
8241
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
8244
8242
|
interface Global<T extends ValueType = ValueType> {
|
|
8245
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
8246
8243
|
value: ValueTypeMap[T];
|
|
8247
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
8248
8244
|
valueOf(): ValueTypeMap[T];
|
|
8249
8245
|
}
|
|
8250
8246
|
|
|
@@ -8522,24 +8518,24 @@ declare var fonts: FontFaceSet;
|
|
|
8522
8518
|
/**
|
|
8523
8519
|
* Available only in secure contexts.
|
|
8524
8520
|
*
|
|
8525
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/caches)
|
|
8521
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)
|
|
8526
8522
|
*/
|
|
8527
8523
|
declare var caches: CacheStorage;
|
|
8528
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/crossOriginIsolated) */
|
|
8524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */
|
|
8529
8525
|
declare var crossOriginIsolated: boolean;
|
|
8530
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */
|
|
8531
8527
|
declare var crypto: Crypto;
|
|
8532
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/indexedDB) */
|
|
8528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */
|
|
8533
8529
|
declare var indexedDB: IDBFactory;
|
|
8534
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/isSecureContext) */
|
|
8530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */
|
|
8535
8531
|
declare var isSecureContext: boolean;
|
|
8536
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/origin) */
|
|
8532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */
|
|
8537
8533
|
declare var origin: string;
|
|
8538
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
8534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
8539
8535
|
declare var performance: Performance;
|
|
8540
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/atob) */
|
|
8536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
8541
8537
|
declare function atob(data: string): string;
|
|
8542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/btoa) */
|
|
8538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
8543
8539
|
declare function btoa(data: string): string;
|
|
8544
8540
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
8545
8541
|
declare function clearInterval(id: number | undefined): void;
|
|
@@ -8548,7 +8544,7 @@ declare function clearTimeout(id: number | undefined): void;
|
|
|
8548
8544
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
8549
8545
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
8550
8546
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
8551
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
8547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
8552
8548
|
declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
8553
8549
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
8554
8550
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
@@ -8653,7 +8649,7 @@ type MediaEncodingType = "record" | "webrtc";
|
|
|
8653
8649
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
8654
8650
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
8655
8651
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
8656
|
-
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "
|
|
8652
|
+
type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
8657
8653
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
8658
8654
|
type PredefinedColorSpace = "display-p3" | "srgb";
|
|
8659
8655
|
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
|
|