File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1219,13 +1219,13 @@ changes:
1219
1219
description: This class is now exposed on the global object.
1220
1220
-->
1221
1221
1222
- #### ` new ByteLengthQueuingStrategy (options )`
1222
+ #### ` new ByteLengthQueuingStrategy (init )`
1223
1223
1224
1224
<!-- YAML
1225
1225
added: v16.5.0
1226
1226
-->
1227
1227
1228
- * ` options ` {Object}
1228
+ * ` init ` {Object}
1229
1229
* ` highWaterMark` {number}
1230
1230
1231
1231
#### ` byteLengthQueuingStrategy .highWaterMark `
@@ -1256,13 +1256,13 @@ changes:
1256
1256
description: This class is now exposed on the global object.
1257
1257
-->
1258
1258
1259
- #### ` new CountQueuingStrategy (options )`
1259
+ #### ` new CountQueuingStrategy (init )`
1260
1260
1261
1261
<!-- YAML
1262
1262
added: v16.5.0
1263
1263
-->
1264
1264
1265
- * ` options ` {Object}
1265
+ * ` init ` {Object}
1266
1266
* ` highWaterMark` {number}
1267
1267
1268
1268
#### ` countQueuingStrategy .highWaterMark `
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class ByteLengthQueuingStrategy {
69
69
constructor ( init ) {
70
70
validateObject ( init , 'init' ) ;
71
71
if ( init . highWaterMark === undefined )
72
- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
72
+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
73
73
74
74
// The highWaterMark value is not checked until the strategy
75
75
// is actually used, per the spec.
@@ -121,7 +121,7 @@ class CountQueuingStrategy {
121
121
constructor ( init ) {
122
122
validateObject ( init , 'init' ) ;
123
123
if ( init . highWaterMark === undefined )
124
- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
124
+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
125
125
126
126
// The highWaterMark value is not checked until the strategy
127
127
// is actually used, per the spec.
You can’t perform that action at this time.
0 commit comments