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:
12191219 description: This class is now exposed on the global object.
12201220-->
12211221
1222- #### ` new ByteLengthQueuingStrategy (options )`
1222+ #### ` new ByteLengthQueuingStrategy (init )`
12231223
12241224<!-- YAML
12251225added: v16.5.0
12261226-->
12271227
1228- * ` options ` {Object}
1228+ * ` init ` {Object}
12291229 * ` highWaterMark` {number}
12301230
12311231#### ` byteLengthQueuingStrategy .highWaterMark `
@@ -1256,13 +1256,13 @@ changes:
12561256 description: This class is now exposed on the global object.
12571257-->
12581258
1259- #### ` new CountQueuingStrategy (options )`
1259+ #### ` new CountQueuingStrategy (init )`
12601260
12611261<!-- YAML
12621262added: v16.5.0
12631263-->
12641264
1265- * ` options ` {Object}
1265+ * ` init ` {Object}
12661266 * ` highWaterMark` {number}
12671267
12681268#### ` countQueuingStrategy .highWaterMark `
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class ByteLengthQueuingStrategy {
7878 constructor ( init ) {
7979 validateObject ( init , 'init' ) ;
8080 if ( init . highWaterMark === undefined )
81- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
81+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
8282
8383 // The highWaterMark value is not checked until the strategy
8484 // is actually used, per the spec.
@@ -133,7 +133,7 @@ class CountQueuingStrategy {
133133 constructor ( init ) {
134134 validateObject ( init , 'init' ) ;
135135 if ( init . highWaterMark === undefined )
136- throw new ERR_MISSING_OPTION ( 'options .highWaterMark' ) ;
136+ throw new ERR_MISSING_OPTION ( 'init .highWaterMark' ) ;
137137
138138 // The highWaterMark value is not checked until the strategy
139139 // is actually used, per the spec.
You can’t perform that action at this time.
0 commit comments