()
| 34 | } |
| 35 | |
| 36 | export function createResponseStreamTextDecoder(): TextDecoder { |
| 37 | if (typeof globalThis.TextDecoder !== 'function') { |
| 38 | throw new UnsupportedResponseStreamError('TextDecoder') |
| 39 | } |
| 40 | |
| 41 | return new globalThis.TextDecoder() |
| 42 | } |
no outgoing calls
no test coverage detected