File tree 2 files changed +6
-6
lines changed
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 @@ -78,7 +78,7 @@ class ByteLengthQueuingStrategy {
78
78
constructor ( init ) {
79
79
validateObject ( init , 'init' ) ;
80
80
if ( init . highWaterMark === undefined )
81
- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
81
+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
82
82
83
83
// The highWaterMark value is not checked until the strategy
84
84
// is actually used, per the spec.
@@ -133,7 +133,7 @@ class CountQueuingStrategy {
133
133
constructor ( init ) {
134
134
validateObject ( init , 'init' ) ;
135
135
if ( init . highWaterMark === undefined )
136
- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
136
+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
137
137
138
138
// The highWaterMark value is not checked until the strategy
139
139
// is actually used, per the spec.
You can’t perform that action at this time.
0 commit comments