@types/sharedworker 0.0.170 → 0.0.172
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 +259 -199
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +259 -199
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +259 -199
- package/ts5.6/iterable.d.ts +1 -1
package/ts5.5/index.d.ts
CHANGED
|
@@ -952,7 +952,7 @@ interface Blob {
|
|
|
952
952
|
*/
|
|
953
953
|
stream(): ReadableStream<Uint8Array>;
|
|
954
954
|
/**
|
|
955
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
955
|
+
* The **`text()`** method of the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
|
|
956
956
|
*
|
|
957
957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
958
958
|
*/
|
|
@@ -1068,7 +1068,7 @@ declare var CSSImageValue: {
|
|
|
1068
1068
|
*/
|
|
1069
1069
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1070
1070
|
/**
|
|
1071
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1071
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1072
1072
|
*
|
|
1073
1073
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1074
1074
|
*/
|
|
@@ -1098,7 +1098,7 @@ declare var CSSMathClamp: {
|
|
|
1098
1098
|
*/
|
|
1099
1099
|
interface CSSMathInvert extends CSSMathValue {
|
|
1100
1100
|
/**
|
|
1101
|
-
* The CSSMathInvert.value read-only property of the
|
|
1101
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1102
1102
|
*
|
|
1103
1103
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1104
1104
|
*/
|
|
@@ -1117,7 +1117,7 @@ declare var CSSMathInvert: {
|
|
|
1117
1117
|
*/
|
|
1118
1118
|
interface CSSMathMax extends CSSMathValue {
|
|
1119
1119
|
/**
|
|
1120
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1120
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1121
1121
|
*
|
|
1122
1122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1123
1123
|
*/
|
|
@@ -1136,7 +1136,7 @@ declare var CSSMathMax: {
|
|
|
1136
1136
|
*/
|
|
1137
1137
|
interface CSSMathMin extends CSSMathValue {
|
|
1138
1138
|
/**
|
|
1139
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1139
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1140
1140
|
*
|
|
1141
1141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1142
1142
|
*/
|
|
@@ -1155,7 +1155,7 @@ declare var CSSMathMin: {
|
|
|
1155
1155
|
*/
|
|
1156
1156
|
interface CSSMathNegate extends CSSMathValue {
|
|
1157
1157
|
/**
|
|
1158
|
-
* The CSSMathNegate.value read-only property of the
|
|
1158
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1159
1159
|
*
|
|
1160
1160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1161
1161
|
*/
|
|
@@ -1174,7 +1174,7 @@ declare var CSSMathNegate: {
|
|
|
1174
1174
|
*/
|
|
1175
1175
|
interface CSSMathProduct extends CSSMathValue {
|
|
1176
1176
|
/**
|
|
1177
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1177
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1178
1178
|
*
|
|
1179
1179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1180
1180
|
*/
|
|
@@ -1231,7 +1231,7 @@ declare var CSSMathValue: {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1233
1233
|
/**
|
|
1234
|
-
* The **`matrix`** property of the
|
|
1234
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1235
1235
|
*
|
|
1236
1236
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1237
1237
|
*/
|
|
@@ -1250,7 +1250,7 @@ declare var CSSMatrixComponent: {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
interface CSSNumericArray {
|
|
1252
1252
|
/**
|
|
1253
|
-
* The read-only **`length`** property of the
|
|
1253
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1254
1254
|
*
|
|
1255
1255
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1256
1256
|
*/
|
|
@@ -1271,61 +1271,61 @@ declare var CSSNumericArray: {
|
|
|
1271
1271
|
*/
|
|
1272
1272
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1273
1273
|
/**
|
|
1274
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1274
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1275
1275
|
*
|
|
1276
1276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1277
1277
|
*/
|
|
1278
1278
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1279
1279
|
/**
|
|
1280
|
-
* The **`div()`** method of the supplied value.
|
|
1280
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1281
1281
|
*
|
|
1282
1282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1283
1283
|
*/
|
|
1284
1284
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1285
1285
|
/**
|
|
1286
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1286
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1287
1287
|
*
|
|
1288
1288
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1289
1289
|
*/
|
|
1290
1290
|
equals(...value: CSSNumberish[]): boolean;
|
|
1291
1291
|
/**
|
|
1292
|
-
* The **`max()`** method of the passed.
|
|
1292
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1293
1293
|
*
|
|
1294
1294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1295
1295
|
*/
|
|
1296
1296
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1297
1297
|
/**
|
|
1298
|
-
* The **`min()`** method of the values passed.
|
|
1298
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1299
1299
|
*
|
|
1300
1300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1301
1301
|
*/
|
|
1302
1302
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1303
1303
|
/**
|
|
1304
|
-
* The **`mul()`** method of the the supplied value.
|
|
1304
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1305
1305
|
*
|
|
1306
1306
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1307
1307
|
*/
|
|
1308
1308
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1309
1309
|
/**
|
|
1310
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1310
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1311
1311
|
*
|
|
1312
1312
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1313
1313
|
*/
|
|
1314
1314
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1315
1315
|
/**
|
|
1316
|
-
* The **`to()`** method of the another.
|
|
1316
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1317
1317
|
*
|
|
1318
1318
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1319
1319
|
*/
|
|
1320
1320
|
to(unit: string): CSSUnitValue;
|
|
1321
1321
|
/**
|
|
1322
|
-
* The **`toSum()`** method of the
|
|
1322
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1323
1323
|
*
|
|
1324
1324
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1325
1325
|
*/
|
|
1326
1326
|
toSum(...units: string[]): CSSMathSum;
|
|
1327
1327
|
/**
|
|
1328
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1328
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1329
1329
|
*
|
|
1330
1330
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1331
1331
|
*/
|
|
@@ -1344,7 +1344,7 @@ declare var CSSNumericValue: {
|
|
|
1344
1344
|
*/
|
|
1345
1345
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1346
1346
|
/**
|
|
1347
|
-
* The **`length`** property of the
|
|
1347
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1348
1348
|
*
|
|
1349
1349
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1350
1350
|
*/
|
|
@@ -1363,25 +1363,25 @@ declare var CSSPerspective: {
|
|
|
1363
1363
|
*/
|
|
1364
1364
|
interface CSSRotate extends CSSTransformComponent {
|
|
1365
1365
|
/**
|
|
1366
|
-
* The **`angle`** property of the
|
|
1366
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1367
1367
|
*
|
|
1368
1368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1369
1369
|
*/
|
|
1370
1370
|
angle: CSSNumericValue;
|
|
1371
1371
|
/**
|
|
1372
|
-
* The **`x`** property of the translating vector.
|
|
1372
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1373
1373
|
*
|
|
1374
1374
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1375
1375
|
*/
|
|
1376
1376
|
x: CSSNumberish;
|
|
1377
1377
|
/**
|
|
1378
|
-
* The **`y`** property of the translating vector.
|
|
1378
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1379
1379
|
*
|
|
1380
1380
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1381
1381
|
*/
|
|
1382
1382
|
y: CSSNumberish;
|
|
1383
1383
|
/**
|
|
1384
|
-
* The **`z`** property of the vector.
|
|
1384
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1385
1385
|
*
|
|
1386
1386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1387
1387
|
*/
|
|
@@ -1401,19 +1401,19 @@ declare var CSSRotate: {
|
|
|
1401
1401
|
*/
|
|
1402
1402
|
interface CSSScale extends CSSTransformComponent {
|
|
1403
1403
|
/**
|
|
1404
|
-
* The **`x`** property of the translating vector.
|
|
1404
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1405
1405
|
*
|
|
1406
1406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1407
1407
|
*/
|
|
1408
1408
|
x: CSSNumberish;
|
|
1409
1409
|
/**
|
|
1410
|
-
* The **`y`** property of the translating vector.
|
|
1410
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1411
1411
|
*
|
|
1412
1412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1413
1413
|
*/
|
|
1414
1414
|
y: CSSNumberish;
|
|
1415
1415
|
/**
|
|
1416
|
-
* The **`z`** property of the vector.
|
|
1416
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1417
1417
|
*
|
|
1418
1418
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1419
1419
|
*/
|
|
@@ -1432,13 +1432,13 @@ declare var CSSScale: {
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
interface CSSSkew extends CSSTransformComponent {
|
|
1434
1434
|
/**
|
|
1435
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1435
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1436
1436
|
*
|
|
1437
1437
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1438
1438
|
*/
|
|
1439
1439
|
ax: CSSNumericValue;
|
|
1440
1440
|
/**
|
|
1441
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1441
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1442
1442
|
*
|
|
1443
1443
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1444
1444
|
*/
|
|
@@ -1457,7 +1457,7 @@ declare var CSSSkew: {
|
|
|
1457
1457
|
*/
|
|
1458
1458
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1459
1459
|
/**
|
|
1460
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1460
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1461
1461
|
*
|
|
1462
1462
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1463
1463
|
*/
|
|
@@ -1476,7 +1476,7 @@ declare var CSSSkewX: {
|
|
|
1476
1476
|
*/
|
|
1477
1477
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1478
1478
|
/**
|
|
1479
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1479
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1480
1480
|
*
|
|
1481
1481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
1482
1482
|
*/
|
|
@@ -1515,7 +1515,7 @@ interface CSSTransformComponent {
|
|
|
1515
1515
|
*/
|
|
1516
1516
|
is2D: boolean;
|
|
1517
1517
|
/**
|
|
1518
|
-
* The **`toMatrix()`** method of the object.
|
|
1518
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
1519
1519
|
*
|
|
1520
1520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
1521
1521
|
*/
|
|
@@ -1535,19 +1535,19 @@ declare var CSSTransformComponent: {
|
|
|
1535
1535
|
*/
|
|
1536
1536
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1537
1537
|
/**
|
|
1538
|
-
* The read-only **`is2D`** property of the
|
|
1538
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
1539
1539
|
*
|
|
1540
1540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
1541
1541
|
*/
|
|
1542
1542
|
readonly is2D: boolean;
|
|
1543
1543
|
/**
|
|
1544
|
-
* The read-only **`length`** property of the the list.
|
|
1544
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
1545
1545
|
*
|
|
1546
1546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
1547
1547
|
*/
|
|
1548
1548
|
readonly length: number;
|
|
1549
1549
|
/**
|
|
1550
|
-
* The **`toMatrix()`** method of the
|
|
1550
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
1551
1551
|
*
|
|
1552
1552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
1553
1553
|
*/
|
|
@@ -1568,19 +1568,19 @@ declare var CSSTransformValue: {
|
|
|
1568
1568
|
*/
|
|
1569
1569
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1570
1570
|
/**
|
|
1571
|
-
* The **`x`** property of the translating vector.
|
|
1571
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1572
1572
|
*
|
|
1573
1573
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
1574
1574
|
*/
|
|
1575
1575
|
x: CSSNumericValue;
|
|
1576
1576
|
/**
|
|
1577
|
-
* The **`y`** property of the translating vector.
|
|
1577
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1578
1578
|
*
|
|
1579
1579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
1580
1580
|
*/
|
|
1581
1581
|
y: CSSNumericValue;
|
|
1582
1582
|
/**
|
|
1583
|
-
* The **`z`** property of the vector.
|
|
1583
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
1584
1584
|
*
|
|
1585
1585
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
1586
1586
|
*/
|
|
@@ -1605,7 +1605,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
1605
1605
|
*/
|
|
1606
1606
|
readonly unit: string;
|
|
1607
1607
|
/**
|
|
1608
|
-
* The **`CSSUnitValue.value`** property of the
|
|
1608
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
1609
1609
|
*
|
|
1610
1610
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
1611
1611
|
*/
|
|
@@ -1624,7 +1624,7 @@ declare var CSSUnitValue: {
|
|
|
1624
1624
|
*/
|
|
1625
1625
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1626
1626
|
/**
|
|
1627
|
-
* The **`length`** read-only property of the
|
|
1627
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
1628
1628
|
*
|
|
1629
1629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
1630
1630
|
*/
|
|
@@ -1645,13 +1645,13 @@ declare var CSSUnparsedValue: {
|
|
|
1645
1645
|
*/
|
|
1646
1646
|
interface CSSVariableReferenceValue {
|
|
1647
1647
|
/**
|
|
1648
|
-
* The **`fallback`** read-only property of the
|
|
1648
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
1649
1649
|
*
|
|
1650
1650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
1651
1651
|
*/
|
|
1652
1652
|
readonly fallback: CSSUnparsedValue | null;
|
|
1653
1653
|
/**
|
|
1654
|
-
* The **`variable`** property of the
|
|
1654
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
1655
1655
|
*
|
|
1656
1656
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
1657
1657
|
*/
|
|
@@ -1689,7 +1689,7 @@ interface Cache {
|
|
|
1689
1689
|
*/
|
|
1690
1690
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
1691
1691
|
/**
|
|
1692
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
1692
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
1693
1693
|
*
|
|
1694
1694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
1695
1695
|
*/
|
|
@@ -1707,7 +1707,7 @@ interface Cache {
|
|
|
1707
1707
|
*/
|
|
1708
1708
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
1709
1709
|
/**
|
|
1710
|
-
* The **`put()`** method of the
|
|
1710
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
1711
1711
|
*
|
|
1712
1712
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
1713
1713
|
*/
|
|
@@ -1733,7 +1733,7 @@ interface CacheStorage {
|
|
|
1733
1733
|
*/
|
|
1734
1734
|
delete(cacheName: string): Promise<boolean>;
|
|
1735
1735
|
/**
|
|
1736
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
1736
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
1737
1737
|
*
|
|
1738
1738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
1739
1739
|
*/
|
|
@@ -1751,7 +1751,7 @@ interface CacheStorage {
|
|
|
1751
1751
|
*/
|
|
1752
1752
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
1753
1753
|
/**
|
|
1754
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
1754
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
1755
1755
|
*
|
|
1756
1756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
1757
1757
|
*/
|
|
@@ -2068,7 +2068,7 @@ declare var CountQueuingStrategy: {
|
|
|
2068
2068
|
*/
|
|
2069
2069
|
interface Crypto {
|
|
2070
2070
|
/**
|
|
2071
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2071
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2072
2072
|
* Available only in secure contexts.
|
|
2073
2073
|
*
|
|
2074
2074
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2172,13 +2172,13 @@ interface DOMException extends Error {
|
|
|
2172
2172
|
*/
|
|
2173
2173
|
readonly code: number;
|
|
2174
2174
|
/**
|
|
2175
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2175
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2176
2176
|
*
|
|
2177
2177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2178
2178
|
*/
|
|
2179
2179
|
readonly message: string;
|
|
2180
2180
|
/**
|
|
2181
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2181
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2182
2182
|
*
|
|
2183
2183
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2184
2184
|
*/
|
|
@@ -2471,7 +2471,7 @@ interface DOMMatrixReadOnly {
|
|
|
2471
2471
|
*/
|
|
2472
2472
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
2473
2473
|
/**
|
|
2474
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
2474
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
2475
2475
|
*
|
|
2476
2476
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
2477
2477
|
*/
|
|
@@ -2515,7 +2515,7 @@ interface DOMMatrixReadOnly {
|
|
|
2515
2515
|
*/
|
|
2516
2516
|
toJSON(): any;
|
|
2517
2517
|
/**
|
|
2518
|
-
* The **`transformPoint`** method of the
|
|
2518
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
2519
2519
|
*
|
|
2520
2520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
2521
2521
|
*/
|
|
@@ -2616,7 +2616,7 @@ interface DOMPointReadOnly {
|
|
|
2616
2616
|
*/
|
|
2617
2617
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
2618
2618
|
/**
|
|
2619
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
2619
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
2620
2620
|
*
|
|
2621
2621
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
2622
2622
|
*/
|
|
@@ -2671,7 +2671,7 @@ interface DOMQuad {
|
|
|
2671
2671
|
*/
|
|
2672
2672
|
getBounds(): DOMRect;
|
|
2673
2673
|
/**
|
|
2674
|
-
* The DOMQuad method `toJSON()` returns a
|
|
2674
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
2675
2675
|
*
|
|
2676
2676
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
2677
2677
|
*/
|
|
@@ -2721,7 +2721,7 @@ declare var DOMRect: {
|
|
|
2721
2721
|
prototype: DOMRect;
|
|
2722
2722
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2723
2723
|
/**
|
|
2724
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2724
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
2725
2725
|
*
|
|
2726
2726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
2727
2727
|
*/
|
|
@@ -2794,7 +2794,7 @@ declare var DOMRectReadOnly: {
|
|
|
2794
2794
|
prototype: DOMRectReadOnly;
|
|
2795
2795
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
2796
2796
|
/**
|
|
2797
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2797
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
2798
2798
|
*
|
|
2799
2799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
2800
2800
|
*/
|
|
@@ -3033,7 +3033,7 @@ interface Event {
|
|
|
3033
3033
|
*/
|
|
3034
3034
|
readonly cancelable: boolean;
|
|
3035
3035
|
/**
|
|
3036
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3036
|
+
* The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3037
3037
|
*
|
|
3038
3038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3039
3039
|
*/
|
|
@@ -3051,13 +3051,13 @@ interface Event {
|
|
|
3051
3051
|
*/
|
|
3052
3052
|
readonly defaultPrevented: boolean;
|
|
3053
3053
|
/**
|
|
3054
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3054
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3055
3055
|
*
|
|
3056
3056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3057
3057
|
*/
|
|
3058
3058
|
readonly eventPhase: number;
|
|
3059
3059
|
/**
|
|
3060
|
-
* The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via
|
|
3060
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via EventTarget.dispatchEvent().
|
|
3061
3061
|
*
|
|
3062
3062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3063
3063
|
*/
|
|
@@ -3077,7 +3077,7 @@ interface Event {
|
|
|
3077
3077
|
*/
|
|
3078
3078
|
readonly srcElement: EventTarget | null;
|
|
3079
3079
|
/**
|
|
3080
|
-
* The read-only **`target`** property of the dispatched.
|
|
3080
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3081
3081
|
*
|
|
3082
3082
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3083
3083
|
*/
|
|
@@ -3114,7 +3114,7 @@ interface Event {
|
|
|
3114
3114
|
*/
|
|
3115
3115
|
preventDefault(): void;
|
|
3116
3116
|
/**
|
|
3117
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3117
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3118
3118
|
*
|
|
3119
3119
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3120
3120
|
*/
|
|
@@ -3167,25 +3167,25 @@ interface EventSource extends EventTarget {
|
|
|
3167
3167
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3168
3168
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3169
3169
|
/**
|
|
3170
|
-
* The **`readyState`** read-only property of the connection.
|
|
3170
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3171
3171
|
*
|
|
3172
3172
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3173
3173
|
*/
|
|
3174
3174
|
readonly readyState: number;
|
|
3175
3175
|
/**
|
|
3176
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3176
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3177
3177
|
*
|
|
3178
3178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3179
3179
|
*/
|
|
3180
3180
|
readonly url: string;
|
|
3181
3181
|
/**
|
|
3182
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
3182
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
3183
3183
|
*
|
|
3184
3184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
3185
3185
|
*/
|
|
3186
3186
|
readonly withCredentials: boolean;
|
|
3187
3187
|
/**
|
|
3188
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
3188
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
3189
3189
|
*
|
|
3190
3190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
3191
3191
|
*/
|
|
@@ -3362,7 +3362,7 @@ interface FileReader extends EventTarget {
|
|
|
3362
3362
|
*/
|
|
3363
3363
|
readAsBinaryString(blob: Blob): void;
|
|
3364
3364
|
/**
|
|
3365
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
3365
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
3366
3366
|
*
|
|
3367
3367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
3368
3368
|
*/
|
|
@@ -3437,25 +3437,25 @@ declare var FileReaderSync: {
|
|
|
3437
3437
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
3438
3438
|
readonly kind: "directory";
|
|
3439
3439
|
/**
|
|
3440
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
3440
|
+
* The **`getDirectoryHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemDirectoryHandle for a subdirectory with the specified name within the directory handle on which the method is called.
|
|
3441
3441
|
*
|
|
3442
3442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
3443
3443
|
*/
|
|
3444
3444
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
3445
3445
|
/**
|
|
3446
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
3446
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
3447
3447
|
*
|
|
3448
3448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
3449
3449
|
*/
|
|
3450
3450
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
3451
3451
|
/**
|
|
3452
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
3452
|
+
* The **`removeEntry()`** method of the FileSystemDirectoryHandle interface attempts to remove an entry if the directory handle contains a file or directory called the name specified.
|
|
3453
3453
|
*
|
|
3454
3454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
3455
3455
|
*/
|
|
3456
3456
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
3457
3457
|
/**
|
|
3458
|
-
* The **`resolve()`** method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
3458
|
+
* The **`resolve()`** method of the FileSystemDirectoryHandle interface returns an Array of directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
3459
3459
|
*
|
|
3460
3460
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
3461
3461
|
*/
|
|
@@ -3482,7 +3482,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
3482
3482
|
*/
|
|
3483
3483
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
3484
3484
|
/**
|
|
3485
|
-
* The **`getFile()`** method of the
|
|
3485
|
+
* The **`getFile()`** method of the FileSystemFileHandle interface returns a Promise which resolves to a File object representing the state on disk of the entry represented by the handle.
|
|
3486
3486
|
*
|
|
3487
3487
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
3488
3488
|
*/
|
|
@@ -3502,19 +3502,19 @@ declare var FileSystemFileHandle: {
|
|
|
3502
3502
|
*/
|
|
3503
3503
|
interface FileSystemHandle {
|
|
3504
3504
|
/**
|
|
3505
|
-
* The **`kind`** read-only property of the
|
|
3505
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
3506
3506
|
*
|
|
3507
3507
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
3508
3508
|
*/
|
|
3509
3509
|
readonly kind: FileSystemHandleKind;
|
|
3510
3510
|
/**
|
|
3511
|
-
* The **`name`** read-only property of the handle.
|
|
3511
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
3512
3512
|
*
|
|
3513
3513
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
3514
3514
|
*/
|
|
3515
3515
|
readonly name: string;
|
|
3516
3516
|
/**
|
|
3517
|
-
* The **`isSameEntry()`** method of the
|
|
3517
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
3518
3518
|
*
|
|
3519
3519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
3520
3520
|
*/
|
|
@@ -3710,7 +3710,7 @@ declare var FontFaceSet: {
|
|
|
3710
3710
|
*/
|
|
3711
3711
|
interface FontFaceSetLoadEvent extends Event {
|
|
3712
3712
|
/**
|
|
3713
|
-
* The **`fontfaces`** read-only property of the
|
|
3713
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
3714
3714
|
*
|
|
3715
3715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
3716
3716
|
*/
|
|
@@ -3789,7 +3789,7 @@ declare var FormData: {
|
|
|
3789
3789
|
*/
|
|
3790
3790
|
interface GPUError {
|
|
3791
3791
|
/**
|
|
3792
|
-
* The **`message`** read-only property of the
|
|
3792
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
3793
3793
|
*
|
|
3794
3794
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
3795
3795
|
*/
|
|
@@ -3860,19 +3860,19 @@ declare var Headers: {
|
|
|
3860
3860
|
*/
|
|
3861
3861
|
interface IDBCursor {
|
|
3862
3862
|
/**
|
|
3863
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
3863
|
+
* The **`direction`** read-only property of the IDBCursor interface is a string that returns the direction of traversal of the cursor (set using IDBObjectStore.openCursor for example).
|
|
3864
3864
|
*
|
|
3865
3865
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
3866
3866
|
*/
|
|
3867
3867
|
readonly direction: IDBCursorDirection;
|
|
3868
3868
|
/**
|
|
3869
|
-
* The **`key`** read-only property of the position.
|
|
3869
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
3870
3870
|
*
|
|
3871
3871
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
3872
3872
|
*/
|
|
3873
3873
|
readonly key: IDBValidKey;
|
|
3874
3874
|
/**
|
|
3875
|
-
* The **`primaryKey`** read-only property of the
|
|
3875
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
3876
3876
|
*
|
|
3877
3877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
3878
3878
|
*/
|
|
@@ -3884,7 +3884,7 @@ interface IDBCursor {
|
|
|
3884
3884
|
*/
|
|
3885
3885
|
readonly request: IDBRequest;
|
|
3886
3886
|
/**
|
|
3887
|
-
* The **`source`** read-only property of the
|
|
3887
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
3888
3888
|
*
|
|
3889
3889
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
3890
3890
|
*/
|
|
@@ -3902,7 +3902,7 @@ interface IDBCursor {
|
|
|
3902
3902
|
*/
|
|
3903
3903
|
continue(key?: IDBValidKey): void;
|
|
3904
3904
|
/**
|
|
3905
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
3905
|
+
* The **`continuePrimaryKey()`** method of the IDBCursor interface advances the cursor to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
3906
3906
|
*
|
|
3907
3907
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
3908
3908
|
*/
|
|
@@ -3933,7 +3933,7 @@ declare var IDBCursor: {
|
|
|
3933
3933
|
*/
|
|
3934
3934
|
interface IDBCursorWithValue extends IDBCursor {
|
|
3935
3935
|
/**
|
|
3936
|
-
* The **`value`** read-only property of the whatever that is.
|
|
3936
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
3937
3937
|
*
|
|
3938
3938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
3939
3939
|
*/
|
|
@@ -3965,7 +3965,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
3965
3965
|
*/
|
|
3966
3966
|
readonly name: string;
|
|
3967
3967
|
/**
|
|
3968
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
3968
|
+
* The **`objectStoreNames`** read-only property of the IDBDatabase interface is a DOMStringList containing a list of the names of the object stores currently in the connected database.
|
|
3969
3969
|
*
|
|
3970
3970
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
3971
3971
|
*/
|
|
@@ -3989,13 +3989,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
3989
3989
|
*/
|
|
3990
3990
|
close(): void;
|
|
3991
3991
|
/**
|
|
3992
|
-
* The **`createObjectStore()`** method of the
|
|
3992
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
3993
3993
|
*
|
|
3994
3994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
3995
3995
|
*/
|
|
3996
3996
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
3997
3997
|
/**
|
|
3998
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
3998
|
+
* The **`deleteObjectStore()`** method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it.
|
|
3999
3999
|
*
|
|
4000
4000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
4001
4001
|
*/
|
|
@@ -4036,7 +4036,7 @@ interface IDBFactory {
|
|
|
4036
4036
|
*/
|
|
4037
4037
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
4038
4038
|
/**
|
|
4039
|
-
* The **`deleteDatabase()`** method of the
|
|
4039
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
4040
4040
|
*
|
|
4041
4041
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
4042
4042
|
*/
|
|
@@ -4067,7 +4067,7 @@ interface IDBIndex {
|
|
|
4067
4067
|
*/
|
|
4068
4068
|
readonly keyPath: string | string[];
|
|
4069
4069
|
/**
|
|
4070
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
4070
|
+
* The **`multiEntry`** read-only property of the IDBIndex interface returns a boolean value that affects how the index behaves when the result of evaluating the index's key path yields an array.
|
|
4071
4071
|
*
|
|
4072
4072
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
4073
4073
|
*/
|
|
@@ -4097,7 +4097,7 @@ interface IDBIndex {
|
|
|
4097
4097
|
*/
|
|
4098
4098
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4099
4099
|
/**
|
|
4100
|
-
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an
|
|
4100
|
+
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an IDBKeyRange.
|
|
4101
4101
|
*
|
|
4102
4102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
4103
4103
|
*/
|
|
@@ -4115,7 +4115,7 @@ interface IDBIndex {
|
|
|
4115
4115
|
*/
|
|
4116
4116
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4117
4117
|
/**
|
|
4118
|
-
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an
|
|
4118
|
+
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
4119
4119
|
*
|
|
4120
4120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
4121
4121
|
*/
|
|
@@ -4127,7 +4127,7 @@ interface IDBIndex {
|
|
|
4127
4127
|
*/
|
|
4128
4128
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4129
4129
|
/**
|
|
4130
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4130
|
+
* The **`openKeyCursor()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4131
4131
|
*
|
|
4132
4132
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
4133
4133
|
*/
|
|
@@ -4146,25 +4146,25 @@ declare var IDBIndex: {
|
|
|
4146
4146
|
*/
|
|
4147
4147
|
interface IDBKeyRange {
|
|
4148
4148
|
/**
|
|
4149
|
-
* The **`lower`** read-only property of the
|
|
4149
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
4150
4150
|
*
|
|
4151
4151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
4152
4152
|
*/
|
|
4153
4153
|
readonly lower: any;
|
|
4154
4154
|
/**
|
|
4155
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
4155
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
4156
4156
|
*
|
|
4157
4157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
4158
4158
|
*/
|
|
4159
4159
|
readonly lowerOpen: boolean;
|
|
4160
4160
|
/**
|
|
4161
|
-
* The **`upper`** read-only property of the
|
|
4161
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
4162
4162
|
*
|
|
4163
4163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
4164
4164
|
*/
|
|
4165
4165
|
readonly upper: any;
|
|
4166
4166
|
/**
|
|
4167
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
4167
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
4168
4168
|
*
|
|
4169
4169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
4170
4170
|
*/
|
|
@@ -4187,7 +4187,7 @@ declare var IDBKeyRange: {
|
|
|
4187
4187
|
*/
|
|
4188
4188
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
4189
4189
|
/**
|
|
4190
|
-
* The **`lowerBound()`** static method of the
|
|
4190
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
4191
4191
|
*
|
|
4192
4192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
4193
4193
|
*/
|
|
@@ -4199,7 +4199,7 @@ declare var IDBKeyRange: {
|
|
|
4199
4199
|
*/
|
|
4200
4200
|
only(value: any): IDBKeyRange;
|
|
4201
4201
|
/**
|
|
4202
|
-
* The **`upperBound()`** static method of the
|
|
4202
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
4203
4203
|
*
|
|
4204
4204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
4205
4205
|
*/
|
|
@@ -4213,19 +4213,19 @@ declare var IDBKeyRange: {
|
|
|
4213
4213
|
*/
|
|
4214
4214
|
interface IDBObjectStore {
|
|
4215
4215
|
/**
|
|
4216
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
4216
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
4217
4217
|
*
|
|
4218
4218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
4219
4219
|
*/
|
|
4220
4220
|
readonly autoIncrement: boolean;
|
|
4221
4221
|
/**
|
|
4222
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
4222
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
4223
4223
|
*
|
|
4224
4224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
4225
4225
|
*/
|
|
4226
4226
|
readonly indexNames: DOMStringList;
|
|
4227
4227
|
/**
|
|
4228
|
-
* The **`keyPath`** read-only property of the
|
|
4228
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
4229
4229
|
*
|
|
4230
4230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
4231
4231
|
*/
|
|
@@ -4237,7 +4237,7 @@ interface IDBObjectStore {
|
|
|
4237
4237
|
*/
|
|
4238
4238
|
name: string;
|
|
4239
4239
|
/**
|
|
4240
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
4240
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
4241
4241
|
*
|
|
4242
4242
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
4243
4243
|
*/
|
|
@@ -4255,25 +4255,25 @@ interface IDBObjectStore {
|
|
|
4255
4255
|
*/
|
|
4256
4256
|
clear(): IDBRequest<undefined>;
|
|
4257
4257
|
/**
|
|
4258
|
-
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or
|
|
4258
|
+
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or IDBKeyRange.
|
|
4259
4259
|
*
|
|
4260
4260
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
4261
4261
|
*/
|
|
4262
4262
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4263
4263
|
/**
|
|
4264
|
-
* The **`createIndex()`** method of the
|
|
4264
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
4265
4265
|
*
|
|
4266
4266
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
4267
4267
|
*/
|
|
4268
4268
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
4269
4269
|
/**
|
|
4270
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
4270
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
4271
4271
|
*
|
|
4272
4272
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
4273
4273
|
*/
|
|
4274
4274
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
4275
4275
|
/**
|
|
4276
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
4276
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
4277
4277
|
*
|
|
4278
4278
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
4279
4279
|
*/
|
|
@@ -4285,7 +4285,7 @@ interface IDBObjectStore {
|
|
|
4285
4285
|
*/
|
|
4286
4286
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
4287
4287
|
/**
|
|
4288
|
-
* The **`getAll()`** method of the containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
4288
|
+
* The **`getAll()`** method of the IDBObjectStore interface returns an IDBRequest object containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
4289
4289
|
*
|
|
4290
4290
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
4291
4291
|
*/
|
|
@@ -4297,7 +4297,7 @@ interface IDBObjectStore {
|
|
|
4297
4297
|
*/
|
|
4298
4298
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4299
4299
|
/**
|
|
4300
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
4300
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
4301
4301
|
*
|
|
4302
4302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
4303
4303
|
*/
|
|
@@ -4309,13 +4309,13 @@ interface IDBObjectStore {
|
|
|
4309
4309
|
*/
|
|
4310
4310
|
index(name: string): IDBIndex;
|
|
4311
4311
|
/**
|
|
4312
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4312
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4313
4313
|
*
|
|
4314
4314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
4315
4315
|
*/
|
|
4316
4316
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4317
4317
|
/**
|
|
4318
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4318
|
+
* The **`openKeyCursor()`** method of the IDBObjectStore interface returns an IDBRequest object whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4319
4319
|
*
|
|
4320
4320
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
4321
4321
|
*/
|
|
@@ -4371,7 +4371,7 @@ interface IDBRequestEventMap {
|
|
|
4371
4371
|
*/
|
|
4372
4372
|
interface IDBRequest<T = any> extends EventTarget {
|
|
4373
4373
|
/**
|
|
4374
|
-
* The **`error`** read-only property of the request.
|
|
4374
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
4375
4375
|
*
|
|
4376
4376
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
4377
4377
|
*/
|
|
@@ -4381,19 +4381,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
4381
4381
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
4382
4382
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
4383
4383
|
/**
|
|
4384
|
-
* The **`readyState`** read-only property of the
|
|
4384
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
4385
4385
|
*
|
|
4386
4386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
4387
4387
|
*/
|
|
4388
4388
|
readonly readyState: IDBRequestReadyState;
|
|
4389
4389
|
/**
|
|
4390
|
-
* The **`result`** read-only property of the
|
|
4390
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
4391
4391
|
*
|
|
4392
4392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
4393
4393
|
*/
|
|
4394
4394
|
readonly result: T;
|
|
4395
4395
|
/**
|
|
4396
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
4396
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
4397
4397
|
*
|
|
4398
4398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
4399
4399
|
*/
|
|
@@ -4446,13 +4446,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
4446
4446
|
*/
|
|
4447
4447
|
readonly error: DOMException | null;
|
|
4448
4448
|
/**
|
|
4449
|
-
* The **`mode`** read-only property of the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
4449
|
+
* The **`mode`** read-only property of the IDBTransaction interface returns the current mode for accessing the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
4450
4450
|
*
|
|
4451
4451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
4452
4452
|
*/
|
|
4453
4453
|
readonly mode: IDBTransactionMode;
|
|
4454
4454
|
/**
|
|
4455
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
4455
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
4456
4456
|
*
|
|
4457
4457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
4458
4458
|
*/
|
|
@@ -4476,7 +4476,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
4476
4476
|
*/
|
|
4477
4477
|
commit(): void;
|
|
4478
4478
|
/**
|
|
4479
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
4479
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
4480
4480
|
*
|
|
4481
4481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
4482
4482
|
*/
|
|
@@ -4499,13 +4499,13 @@ declare var IDBTransaction: {
|
|
|
4499
4499
|
*/
|
|
4500
4500
|
interface IDBVersionChangeEvent extends Event {
|
|
4501
4501
|
/**
|
|
4502
|
-
* The **`newVersion`** read-only property of the database.
|
|
4502
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
4503
4503
|
*
|
|
4504
4504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
4505
4505
|
*/
|
|
4506
4506
|
readonly newVersion: number | null;
|
|
4507
4507
|
/**
|
|
4508
|
-
* The **`oldVersion`** read-only property of the database.
|
|
4508
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
4509
4509
|
*
|
|
4510
4510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
4511
4511
|
*/
|
|
@@ -4580,7 +4580,7 @@ interface ImageData {
|
|
|
4580
4580
|
*/
|
|
4581
4581
|
readonly colorSpace: PredefinedColorSpace;
|
|
4582
4582
|
/**
|
|
4583
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
4583
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
4584
4584
|
*
|
|
4585
4585
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
4586
4586
|
*/
|
|
@@ -4633,7 +4633,7 @@ interface Lock {
|
|
|
4633
4633
|
*/
|
|
4634
4634
|
readonly mode: LockMode;
|
|
4635
4635
|
/**
|
|
4636
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
4636
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
4637
4637
|
*
|
|
4638
4638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
4639
4639
|
*/
|
|
@@ -4704,13 +4704,13 @@ declare var MediaCapabilities: {
|
|
|
4704
4704
|
*/
|
|
4705
4705
|
interface MessageChannel {
|
|
4706
4706
|
/**
|
|
4707
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
4707
|
+
* The **`port1`** read-only property of the MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel.
|
|
4708
4708
|
*
|
|
4709
4709
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
4710
4710
|
*/
|
|
4711
4711
|
readonly port1: MessagePort;
|
|
4712
4712
|
/**
|
|
4713
|
-
* The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
4713
|
+
* The **`port2`** read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
4714
4714
|
*
|
|
4715
4715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
4716
4716
|
*/
|
|
@@ -4729,31 +4729,31 @@ declare var MessageChannel: {
|
|
|
4729
4729
|
*/
|
|
4730
4730
|
interface MessageEvent<T = any> extends Event {
|
|
4731
4731
|
/**
|
|
4732
|
-
* The **`data`** read-only property of the
|
|
4732
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
4733
4733
|
*
|
|
4734
4734
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
4735
4735
|
*/
|
|
4736
4736
|
readonly data: T;
|
|
4737
4737
|
/**
|
|
4738
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
4738
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
4739
4739
|
*
|
|
4740
4740
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
4741
4741
|
*/
|
|
4742
4742
|
readonly lastEventId: string;
|
|
4743
4743
|
/**
|
|
4744
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
4744
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
4745
4745
|
*
|
|
4746
4746
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
4747
4747
|
*/
|
|
4748
4748
|
readonly origin: string;
|
|
4749
4749
|
/**
|
|
4750
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
4750
|
+
* The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
|
|
4751
4751
|
*
|
|
4752
4752
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
4753
4753
|
*/
|
|
4754
4754
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
4755
4755
|
/**
|
|
4756
|
-
* The **`source`** read-only property of the
|
|
4756
|
+
* The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
|
|
4757
4757
|
*
|
|
4758
4758
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
4759
4759
|
*/
|
|
@@ -4801,7 +4801,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
4801
4801
|
*/
|
|
4802
4802
|
close(): void;
|
|
4803
4803
|
/**
|
|
4804
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
4804
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
4805
4805
|
*
|
|
4806
4806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
4807
4807
|
*/
|
|
@@ -4948,13 +4948,13 @@ interface NotificationEventMap {
|
|
|
4948
4948
|
*/
|
|
4949
4949
|
interface Notification extends EventTarget {
|
|
4950
4950
|
/**
|
|
4951
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
4951
|
+
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the `body` option of the Notification.Notification constructor.
|
|
4952
4952
|
*
|
|
4953
4953
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
4954
4954
|
*/
|
|
4955
4955
|
readonly body: string;
|
|
4956
4956
|
/**
|
|
4957
|
-
* The **`data`** read-only property of the
|
|
4957
|
+
* The **`data`** read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the `data` option of the Notification.Notification constructor.
|
|
4958
4958
|
*
|
|
4959
4959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
4960
4960
|
*/
|
|
@@ -4966,13 +4966,13 @@ interface Notification extends EventTarget {
|
|
|
4966
4966
|
*/
|
|
4967
4967
|
readonly dir: NotificationDirection;
|
|
4968
4968
|
/**
|
|
4969
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
4969
|
+
* The **`icon`** read-only property of the Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the `icon` option of the Notification.Notification constructor.
|
|
4970
4970
|
*
|
|
4971
4971
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
4972
4972
|
*/
|
|
4973
4973
|
readonly icon: string;
|
|
4974
4974
|
/**
|
|
4975
|
-
* The **`lang`** read-only property of the
|
|
4975
|
+
* The **`lang`** read-only property of the Notification interface indicates the language used in the notification, as specified in the `lang` option of the Notification.Notification constructor.
|
|
4976
4976
|
*
|
|
4977
4977
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
4978
4978
|
*/
|
|
@@ -4992,19 +4992,19 @@ interface Notification extends EventTarget {
|
|
|
4992
4992
|
*/
|
|
4993
4993
|
readonly requireInteraction: boolean;
|
|
4994
4994
|
/**
|
|
4995
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
4995
|
+
* The **`silent`** read-only property of the Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
4996
4996
|
*
|
|
4997
4997
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
4998
4998
|
*/
|
|
4999
4999
|
readonly silent: boolean | null;
|
|
5000
5000
|
/**
|
|
5001
|
-
* The **`tag`** read-only property of the
|
|
5001
|
+
* The **`tag`** read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the `tag` option of the Notification.Notification constructor.
|
|
5002
5002
|
*
|
|
5003
5003
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
5004
5004
|
*/
|
|
5005
5005
|
readonly tag: string;
|
|
5006
5006
|
/**
|
|
5007
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
5007
|
+
* The **`title`** read-only property of the Notification interface indicates the title of the notification, as specified in the `title` parameter of the Notification.Notification constructor.
|
|
5008
5008
|
*
|
|
5009
5009
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
5010
5010
|
*/
|
|
@@ -5153,13 +5153,13 @@ interface OES_vertex_array_object {
|
|
|
5153
5153
|
*/
|
|
5154
5154
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
5155
5155
|
/**
|
|
5156
|
-
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.
|
|
5156
|
+
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
|
|
5157
5157
|
*
|
|
5158
5158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
5159
5159
|
*/
|
|
5160
5160
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
5161
5161
|
/**
|
|
5162
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
5162
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
5163
5163
|
*
|
|
5164
5164
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
5165
5165
|
*/
|
|
@@ -5644,7 +5644,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
5644
5644
|
*/
|
|
5645
5645
|
readonly transferSize: number;
|
|
5646
5646
|
/**
|
|
5647
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
5647
|
+
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running.
|
|
5648
5648
|
*
|
|
5649
5649
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
5650
5650
|
*/
|
|
@@ -5718,7 +5718,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
5718
5718
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
5719
5719
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
5720
5720
|
/**
|
|
5721
|
-
* The **`state`** read-only property of the
|
|
5721
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
5722
5722
|
*
|
|
5723
5723
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
5724
5724
|
*/
|
|
@@ -5735,7 +5735,7 @@ declare var PermissionStatus: {
|
|
|
5735
5735
|
};
|
|
5736
5736
|
|
|
5737
5737
|
/**
|
|
5738
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
5738
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
5739
5739
|
*
|
|
5740
5740
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
5741
5741
|
*/
|
|
@@ -5760,7 +5760,7 @@ declare var Permissions: {
|
|
|
5760
5760
|
*/
|
|
5761
5761
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
5762
5762
|
/**
|
|
5763
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
5763
|
+
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated.
|
|
5764
5764
|
*
|
|
5765
5765
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
5766
5766
|
*/
|
|
@@ -5792,7 +5792,7 @@ declare var ProgressEvent: {
|
|
|
5792
5792
|
*/
|
|
5793
5793
|
interface PromiseRejectionEvent extends Event {
|
|
5794
5794
|
/**
|
|
5795
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
5795
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
5796
5796
|
*
|
|
5797
5797
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
5798
5798
|
*/
|
|
@@ -5824,7 +5824,7 @@ interface PushManager {
|
|
|
5824
5824
|
*/
|
|
5825
5825
|
getSubscription(): Promise<PushSubscription | null>;
|
|
5826
5826
|
/**
|
|
5827
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
5827
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
5828
5828
|
*
|
|
5829
5829
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
5830
5830
|
*/
|
|
@@ -5856,13 +5856,13 @@ declare var PushManager: {
|
|
|
5856
5856
|
*/
|
|
5857
5857
|
interface PushSubscription {
|
|
5858
5858
|
/**
|
|
5859
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
5859
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
5860
5860
|
*
|
|
5861
5861
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
5862
5862
|
*/
|
|
5863
5863
|
readonly endpoint: string;
|
|
5864
5864
|
/**
|
|
5865
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
5865
|
+
* The **`expirationTime`** read-only property of the PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
5866
5866
|
*
|
|
5867
5867
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
5868
5868
|
*/
|
|
@@ -6006,7 +6006,7 @@ interface ReadableStream<R = any> {
|
|
|
6006
6006
|
*/
|
|
6007
6007
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
6008
6008
|
/**
|
|
6009
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6009
|
+
* The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6010
6010
|
*
|
|
6011
6011
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
6012
6012
|
*/
|
|
@@ -6083,7 +6083,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
6083
6083
|
*/
|
|
6084
6084
|
interface ReadableStreamDefaultController<R = any> {
|
|
6085
6085
|
/**
|
|
6086
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
6086
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
6087
6087
|
*
|
|
6088
6088
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
6089
6089
|
*/
|
|
@@ -6095,13 +6095,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
6095
6095
|
*/
|
|
6096
6096
|
close(): void;
|
|
6097
6097
|
/**
|
|
6098
|
-
* The **`enqueue()`** method of the
|
|
6098
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
6099
6099
|
*
|
|
6100
6100
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
6101
6101
|
*/
|
|
6102
6102
|
enqueue(chunk?: R): void;
|
|
6103
6103
|
/**
|
|
6104
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
6104
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
6105
6105
|
*
|
|
6106
6106
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
6107
6107
|
*/
|
|
@@ -6152,19 +6152,19 @@ interface ReadableStreamGenericReader {
|
|
|
6152
6152
|
*/
|
|
6153
6153
|
interface ReportingObserver {
|
|
6154
6154
|
/**
|
|
6155
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
6155
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
6156
6156
|
*
|
|
6157
6157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
6158
6158
|
*/
|
|
6159
6159
|
disconnect(): void;
|
|
6160
6160
|
/**
|
|
6161
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
6161
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
6162
6162
|
*
|
|
6163
6163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
6164
6164
|
*/
|
|
6165
6165
|
observe(): void;
|
|
6166
6166
|
/**
|
|
6167
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
6167
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
6168
6168
|
*
|
|
6169
6169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
6170
6170
|
*/
|
|
@@ -6201,7 +6201,7 @@ interface Request extends Body {
|
|
|
6201
6201
|
*/
|
|
6202
6202
|
readonly destination: RequestDestination;
|
|
6203
6203
|
/**
|
|
6204
|
-
* The **`headers`** read-only property of the with the request.
|
|
6204
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
6205
6205
|
*
|
|
6206
6206
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
6207
6207
|
*/
|
|
@@ -6219,7 +6219,7 @@ interface Request extends Body {
|
|
|
6219
6219
|
*/
|
|
6220
6220
|
readonly keepalive: boolean;
|
|
6221
6221
|
/**
|
|
6222
|
-
* The **`method`** read-only property of the
|
|
6222
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
6223
6223
|
*
|
|
6224
6224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
6225
6225
|
*/
|
|
@@ -6237,13 +6237,13 @@ interface Request extends Body {
|
|
|
6237
6237
|
*/
|
|
6238
6238
|
readonly redirect: RequestRedirect;
|
|
6239
6239
|
/**
|
|
6240
|
-
* The **`referrer`** read-only property of the Request.
|
|
6240
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
6241
6241
|
*
|
|
6242
6242
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
6243
6243
|
*/
|
|
6244
6244
|
readonly referrer: string;
|
|
6245
6245
|
/**
|
|
6246
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
6246
|
+
* The **`referrerPolicy`** read-only property of the Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request.
|
|
6247
6247
|
*
|
|
6248
6248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
6249
6249
|
*/
|
|
@@ -6280,7 +6280,7 @@ declare var Request: {
|
|
|
6280
6280
|
*/
|
|
6281
6281
|
interface Response extends Body {
|
|
6282
6282
|
/**
|
|
6283
|
-
* The **`headers`** read-only property of the with the response.
|
|
6283
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
6284
6284
|
*
|
|
6285
6285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
6286
6286
|
*/
|
|
@@ -6457,7 +6457,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
6457
6457
|
*/
|
|
6458
6458
|
readonly scriptURL: string;
|
|
6459
6459
|
/**
|
|
6460
|
-
* The **`state`** read-only property of the of the service worker.
|
|
6460
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
6461
6461
|
*
|
|
6462
6462
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
6463
6463
|
*/
|
|
@@ -6512,13 +6512,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
6512
6512
|
*/
|
|
6513
6513
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
6514
6514
|
/**
|
|
6515
|
-
* The **`getRegistration()`** method of the client URL.
|
|
6515
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
6516
6516
|
*
|
|
6517
6517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
6518
6518
|
*/
|
|
6519
6519
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
6520
6520
|
/**
|
|
6521
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
6521
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
6522
6522
|
*
|
|
6523
6523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
6524
6524
|
*/
|
|
@@ -6558,13 +6558,13 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
6558
6558
|
*/
|
|
6559
6559
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
6560
6560
|
/**
|
|
6561
|
-
* The **`active`** read-only property of the
|
|
6561
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
6562
6562
|
*
|
|
6563
6563
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
6564
6564
|
*/
|
|
6565
6565
|
readonly active: ServiceWorker | null;
|
|
6566
6566
|
/**
|
|
6567
|
-
* The **`installing`** read-only property of the
|
|
6567
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
6568
6568
|
*
|
|
6569
6569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
6570
6570
|
*/
|
|
@@ -6578,7 +6578,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6578
6578
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
6579
6579
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
6580
6580
|
/**
|
|
6581
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
6581
|
+
* The **`pushManager`** read-only property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
|
|
6582
6582
|
*
|
|
6583
6583
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
6584
6584
|
*/
|
|
@@ -6596,7 +6596,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6596
6596
|
*/
|
|
6597
6597
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
6598
6598
|
/**
|
|
6599
|
-
* The **`waiting`** read-only property of the
|
|
6599
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
6600
6600
|
*
|
|
6601
6601
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
6602
6602
|
*/
|
|
@@ -6608,19 +6608,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6608
6608
|
*/
|
|
6609
6609
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
6610
6610
|
/**
|
|
6611
|
-
* The **`showNotification()`** method of the service worker.
|
|
6611
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
6612
6612
|
*
|
|
6613
6613
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
6614
6614
|
*/
|
|
6615
6615
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
6616
6616
|
/**
|
|
6617
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
6617
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
6618
6618
|
*
|
|
6619
6619
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
6620
6620
|
*/
|
|
6621
6621
|
unregister(): Promise<boolean>;
|
|
6622
6622
|
/**
|
|
6623
|
-
* The **`update()`** method of the worker.
|
|
6623
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
6624
6624
|
*
|
|
6625
6625
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
6626
6626
|
*/
|
|
@@ -6647,7 +6647,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
6647
6647
|
*/
|
|
6648
6648
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
6649
6649
|
/**
|
|
6650
|
-
* The **`name`** read-only property of the
|
|
6650
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
6651
6651
|
*
|
|
6652
6652
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
6653
6653
|
*/
|
|
@@ -6710,25 +6710,25 @@ declare var StorageManager: {
|
|
|
6710
6710
|
*/
|
|
6711
6711
|
interface StylePropertyMapReadOnly {
|
|
6712
6712
|
/**
|
|
6713
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
6713
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
6714
6714
|
*
|
|
6715
6715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
6716
6716
|
*/
|
|
6717
6717
|
readonly size: number;
|
|
6718
6718
|
/**
|
|
6719
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
6719
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
6720
6720
|
*
|
|
6721
6721
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
6722
6722
|
*/
|
|
6723
6723
|
get(property: string): undefined | CSSStyleValue;
|
|
6724
6724
|
/**
|
|
6725
|
-
* The **`getAll()`** method of the
|
|
6725
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
6726
6726
|
*
|
|
6727
6727
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
6728
6728
|
*/
|
|
6729
6729
|
getAll(property: string): CSSStyleValue[];
|
|
6730
6730
|
/**
|
|
6731
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
6731
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
6732
6732
|
*
|
|
6733
6733
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
6734
6734
|
*/
|
|
@@ -6755,7 +6755,7 @@ interface SubtleCrypto {
|
|
|
6755
6755
|
*/
|
|
6756
6756
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
6757
6757
|
/**
|
|
6758
|
-
* The **`deriveBits()`** method of the key.
|
|
6758
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
6759
6759
|
*
|
|
6760
6760
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
6761
6761
|
*/
|
|
@@ -7152,7 +7152,7 @@ interface URL {
|
|
|
7152
7152
|
*/
|
|
7153
7153
|
search: string;
|
|
7154
7154
|
/**
|
|
7155
|
-
* The **`searchParams`** read-only property of the access to the
|
|
7155
|
+
* The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
|
|
7156
7156
|
*
|
|
7157
7157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
7158
7158
|
*/
|
|
@@ -7164,7 +7164,7 @@ interface URL {
|
|
|
7164
7164
|
*/
|
|
7165
7165
|
username: string;
|
|
7166
7166
|
/**
|
|
7167
|
-
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as
|
|
7167
|
+
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
|
|
7168
7168
|
*
|
|
7169
7169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
7170
7170
|
*/
|
|
@@ -7193,7 +7193,7 @@ declare var URL: {
|
|
|
7193
7193
|
*/
|
|
7194
7194
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
7195
7195
|
/**
|
|
7196
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
7196
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
7197
7197
|
*
|
|
7198
7198
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
7199
7199
|
*/
|
|
@@ -9895,7 +9895,7 @@ interface WebSocket extends EventTarget {
|
|
|
9895
9895
|
*/
|
|
9896
9896
|
readonly url: string;
|
|
9897
9897
|
/**
|
|
9898
|
-
* The **`WebSocket.close()`** method closes the
|
|
9898
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
9899
9899
|
*
|
|
9900
9900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
9901
9901
|
*/
|
|
@@ -10380,7 +10380,7 @@ interface WritableStreamDefaultController {
|
|
|
10380
10380
|
*/
|
|
10381
10381
|
readonly signal: AbortSignal;
|
|
10382
10382
|
/**
|
|
10383
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
10383
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
10384
10384
|
*
|
|
10385
10385
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
10386
10386
|
*/
|
|
@@ -10399,43 +10399,43 @@ declare var WritableStreamDefaultController: {
|
|
|
10399
10399
|
*/
|
|
10400
10400
|
interface WritableStreamDefaultWriter<W = any> {
|
|
10401
10401
|
/**
|
|
10402
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
10402
|
+
* The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
|
|
10403
10403
|
*
|
|
10404
10404
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
10405
10405
|
*/
|
|
10406
10406
|
readonly closed: Promise<void>;
|
|
10407
10407
|
/**
|
|
10408
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
10408
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
10409
10409
|
*
|
|
10410
10410
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
10411
10411
|
*/
|
|
10412
10412
|
readonly desiredSize: number | null;
|
|
10413
10413
|
/**
|
|
10414
|
-
* The **`ready`** read-only property of the that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
|
|
10414
|
+
* The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
|
|
10415
10415
|
*
|
|
10416
10416
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
10417
10417
|
*/
|
|
10418
10418
|
readonly ready: Promise<void>;
|
|
10419
10419
|
/**
|
|
10420
|
-
* The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
|
|
10420
|
+
* The **`abort()`** method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
|
|
10421
10421
|
*
|
|
10422
10422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
10423
10423
|
*/
|
|
10424
10424
|
abort(reason?: any): Promise<void>;
|
|
10425
10425
|
/**
|
|
10426
|
-
* The **`close()`** method of the stream.
|
|
10426
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
10427
10427
|
*
|
|
10428
10428
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
10429
10429
|
*/
|
|
10430
10430
|
close(): Promise<void>;
|
|
10431
10431
|
/**
|
|
10432
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
10432
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
10433
10433
|
*
|
|
10434
10434
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
10435
10435
|
*/
|
|
10436
10436
|
releaseLock(): void;
|
|
10437
10437
|
/**
|
|
10438
|
-
* The **`write()`** method of the operation.
|
|
10438
|
+
* The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
|
|
10439
10439
|
*
|
|
10440
10440
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
10441
10441
|
*/
|
|
@@ -10644,7 +10644,11 @@ declare namespace WebAssembly {
|
|
|
10644
10644
|
(message?: string): CompileError;
|
|
10645
10645
|
};
|
|
10646
10646
|
|
|
10647
|
-
/**
|
|
10647
|
+
/**
|
|
10648
|
+
* A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
|
|
10649
|
+
*
|
|
10650
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
10651
|
+
*/
|
|
10648
10652
|
interface Global<T extends ValueType = ValueType> {
|
|
10649
10653
|
value: ValueTypeMap[T];
|
|
10650
10654
|
valueOf(): ValueTypeMap[T];
|
|
@@ -10655,9 +10659,17 @@ declare namespace WebAssembly {
|
|
|
10655
10659
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
10656
10660
|
};
|
|
10657
10661
|
|
|
10658
|
-
/**
|
|
10662
|
+
/**
|
|
10663
|
+
* A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
|
|
10664
|
+
*
|
|
10665
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
|
|
10666
|
+
*/
|
|
10659
10667
|
interface Instance {
|
|
10660
|
-
/**
|
|
10668
|
+
/**
|
|
10669
|
+
* The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
|
|
10670
|
+
*
|
|
10671
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
|
|
10672
|
+
*/
|
|
10661
10673
|
readonly exports: Exports;
|
|
10662
10674
|
}
|
|
10663
10675
|
|
|
@@ -10675,11 +10687,23 @@ declare namespace WebAssembly {
|
|
|
10675
10687
|
(message?: string): LinkError;
|
|
10676
10688
|
};
|
|
10677
10689
|
|
|
10678
|
-
/**
|
|
10690
|
+
/**
|
|
10691
|
+
* The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
|
|
10692
|
+
*
|
|
10693
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
|
|
10694
|
+
*/
|
|
10679
10695
|
interface Memory {
|
|
10680
|
-
/**
|
|
10696
|
+
/**
|
|
10697
|
+
* The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
|
|
10698
|
+
*
|
|
10699
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
|
|
10700
|
+
*/
|
|
10681
10701
|
readonly buffer: ArrayBuffer;
|
|
10682
|
-
/**
|
|
10702
|
+
/**
|
|
10703
|
+
* The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
|
|
10704
|
+
*
|
|
10705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
|
|
10706
|
+
*/
|
|
10683
10707
|
grow(delta: number): number;
|
|
10684
10708
|
}
|
|
10685
10709
|
|
|
@@ -10688,18 +10712,34 @@ declare namespace WebAssembly {
|
|
|
10688
10712
|
new(descriptor: MemoryDescriptor): Memory;
|
|
10689
10713
|
};
|
|
10690
10714
|
|
|
10691
|
-
/**
|
|
10715
|
+
/**
|
|
10716
|
+
* A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
|
|
10717
|
+
*
|
|
10718
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
|
|
10719
|
+
*/
|
|
10692
10720
|
interface Module {
|
|
10693
10721
|
}
|
|
10694
10722
|
|
|
10695
10723
|
var Module: {
|
|
10696
10724
|
prototype: Module;
|
|
10697
10725
|
new(bytes: BufferSource): Module;
|
|
10698
|
-
/**
|
|
10726
|
+
/**
|
|
10727
|
+
* The **`WebAssembly.Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
10728
|
+
*
|
|
10729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
|
|
10730
|
+
*/
|
|
10699
10731
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
10700
|
-
/**
|
|
10732
|
+
/**
|
|
10733
|
+
* The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
|
|
10734
|
+
*
|
|
10735
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
|
|
10736
|
+
*/
|
|
10701
10737
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
10702
|
-
/**
|
|
10738
|
+
/**
|
|
10739
|
+
* The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
|
|
10740
|
+
*
|
|
10741
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
|
|
10742
|
+
*/
|
|
10703
10743
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
10704
10744
|
};
|
|
10705
10745
|
|
|
@@ -10712,15 +10752,35 @@ declare namespace WebAssembly {
|
|
|
10712
10752
|
(message?: string): RuntimeError;
|
|
10713
10753
|
};
|
|
10714
10754
|
|
|
10715
|
-
/**
|
|
10755
|
+
/**
|
|
10756
|
+
* The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
|
|
10757
|
+
*
|
|
10758
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
|
|
10759
|
+
*/
|
|
10716
10760
|
interface Table {
|
|
10717
|
-
/**
|
|
10761
|
+
/**
|
|
10762
|
+
* The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
|
|
10763
|
+
*
|
|
10764
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
|
|
10765
|
+
*/
|
|
10718
10766
|
readonly length: number;
|
|
10719
|
-
/**
|
|
10767
|
+
/**
|
|
10768
|
+
* The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
|
|
10769
|
+
*
|
|
10770
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
|
|
10771
|
+
*/
|
|
10720
10772
|
get(index: number): any;
|
|
10721
|
-
/**
|
|
10773
|
+
/**
|
|
10774
|
+
* The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
|
|
10775
|
+
*
|
|
10776
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
|
|
10777
|
+
*/
|
|
10722
10778
|
grow(delta: number, value?: any): number;
|
|
10723
|
-
/**
|
|
10779
|
+
/**
|
|
10780
|
+
* The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
|
|
10781
|
+
*
|
|
10782
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
|
|
10783
|
+
*/
|
|
10724
10784
|
set(index: number, value?: any): void;
|
|
10725
10785
|
}
|
|
10726
10786
|
|
|
@@ -10984,7 +11044,7 @@ interface VoidFunction {
|
|
|
10984
11044
|
}
|
|
10985
11045
|
|
|
10986
11046
|
/**
|
|
10987
|
-
* The **`name`** read-only property of the
|
|
11047
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
10988
11048
|
*
|
|
10989
11049
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
10990
11050
|
*/
|