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 @@ -1172,13 +1172,13 @@ changes:
1172
1172
description: This class is now exposed on the global object.
1173
1173
-->
1174
1174
1175
- #### ` new ByteLengthQueuingStrategy (options )`
1175
+ #### ` new ByteLengthQueuingStrategy (init )`
1176
1176
1177
1177
<!-- YAML
1178
1178
added: v16.5.0
1179
1179
-->
1180
1180
1181
- * ` options ` {Object}
1181
+ * ` init ` {Object}
1182
1182
* ` highWaterMark` {number}
1183
1183
1184
1184
#### ` byteLengthQueuingStrategy .highWaterMark `
@@ -1209,13 +1209,13 @@ changes:
1209
1209
description: This class is now exposed on the global object.
1210
1210
-->
1211
1211
1212
- #### ` new CountQueuingStrategy (options )`
1212
+ #### ` new CountQueuingStrategy (init )`
1213
1213
1214
1214
<!-- YAML
1215
1215
added: v16.5.0
1216
1216
-->
1217
1217
1218
- * ` options ` {Object}
1218
+ * ` init ` {Object}
1219
1219
* ` highWaterMark` {number}
1220
1220
1221
1221
#### ` 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