(value, optionName)
| 69 | }; |
| 70 | |
| 71 | const getTransformStreamType = (value, optionName) => { |
| 72 | validateNonGeneratorType(value, optionName, 'web TransformStream'); |
| 73 | return 'webTransform'; |
| 74 | }; |
| 75 | |
| 76 | const validateNonGeneratorType = ({final, binary, objectMode}, optionName, typeName) => { |
| 77 | checkUndefinedOption(final, `${optionName}.final`, typeName); |
no test coverage detected