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 @@ -1172,13 +1172,13 @@ changes:
11721172 description: This class is now exposed on the global object.
11731173-->
11741174
1175- #### ` new ByteLengthQueuingStrategy (options )`
1175+ #### ` new ByteLengthQueuingStrategy (init )`
11761176
11771177<!-- YAML
11781178added: v16.5.0
11791179-->
11801180
1181- * ` options ` {Object}
1181+ * ` init ` {Object}
11821182 * ` highWaterMark` {number}
11831183
11841184#### ` byteLengthQueuingStrategy .highWaterMark `
@@ -1209,13 +1209,13 @@ changes:
12091209 description: This class is now exposed on the global object.
12101210-->
12111211
1212- #### ` new CountQueuingStrategy (options )`
1212+ #### ` new CountQueuingStrategy (init )`
12131213
12141214<!-- YAML
12151215added: v16.5.0
12161216-->
12171217
1218- * ` options ` {Object}
1218+ * ` init ` {Object}
12191219 * ` highWaterMark` {number}
12201220
12211221#### ` 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