(init, context)
| 12052 | return size; |
| 12053 | } |
| 12054 | function convertQueuingStrategy(init, context) { |
| 12055 | assertDictionary(init, context); |
| 12056 | const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; |
| 12057 | const size = init === null || init === void 0 ? void 0 : init.size; |
| 12058 | return { |
| 12059 | highWaterMark: highWaterMark === void 0 ? void 0 : convertUnrestrictedDouble(highWaterMark), |
| 12060 | size: size === void 0 ? void 0 : convertQueuingStrategySize(size, `${context} has member 'size' that`) |
| 12061 | }; |
| 12062 | } |
| 12063 | function convertQueuingStrategySize(fn, context) { |
| 12064 | assertFunction(fn, context); |
| 12065 | return (chunk) => convertUnrestrictedDouble(fn(chunk)); |
no test coverage detected
searching dependent graphs…