@@ -3203,7 +3203,8 @@ changes:
32033203 If no value is provided, the size will be ` 1 ` for all the chunks.
32043204 * ` chunk ` {any}
32053205 * Returns: {number}
3206- * ` type ` {string} Must be 'bytes' or undefined.
3206+ * ` type ` {string} Specifies the type of the created ` ReadableStream ` . Must be
3207+ ` 'bytes' ` or undefined.
32073208* Returns: {ReadableStream}
32083209
32093210### ` stream.Writable.fromWeb(writableStream[, options]) `
@@ -3376,17 +3377,23 @@ duplex.once('readable', () => console.log('readable', duplex.read()));
33763377<!-- YAML
33773378added: v17.0.0
33783379changes:
3380+ - version: REPLACEME
3381+ pr-url: https://github.com/nodejs/node/pull/61632
3382+ description: Added the 'readableType' option to specify the ReadableStream
3383+ type. The 'type' option is deprecated.
33793384 - version: v24.14.0
33803385 pr-url: https://github.com/nodejs/node/pull/58664
3381- description: Add 'type' option to specify 'bytes' .
3386+ description: Added the 'type' option to specify the ReadableStream type .
33823387 - version: v24.0.0
33833388 pr-url: https://github.com/nodejs/node/pull/57513
33843389 description: Marking the API stable.
33853390-->
33863391
33873392* ` streamDuplex ` {stream.Duplex}
33883393* ` options ` {Object}
3389- * ` type ` {string} Must be 'bytes' or undefined.
3394+ * ` readableType ` {string} Specifies the type of the ` ReadableStream ` half of
3395+ the created readable-writable pair. Must be ` 'bytes' ` or undefined.
3396+ (` options.type ` is a deprecated alias for this option.)
33903397* Returns: {Object}
33913398 * ` readable ` {ReadableStream}
33923399 * ` writable ` {WritableStream}
0 commit comments