( writeable: ServerResponse | Duplex, )
| 37 | import path from 'path'; |
| 38 | |
| 39 | const isHTTP = ( |
| 40 | writeable: ServerResponse | Duplex, |
| 41 | ): writeable is ServerResponse => { |
| 42 | return (writeable as ServerResponse).writeHead !== undefined; |
| 43 | }; |
| 44 | |
| 45 | const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
| 46 |
no outgoing calls
no test coverage detected