(target: StdioWriteTarget | undefined, write: WritableMethod)
| 25 | } |
| 26 | |
| 27 | function setWrite(target: StdioWriteTarget | undefined, write: WritableMethod): void { |
| 28 | if (!target || typeof target.write !== 'function') { |
| 29 | return; |
| 30 | } |
| 31 | target.write = write; |
| 32 | } |
| 33 | |
| 34 | export function suppressProcessStdioWrites(): void { |
| 35 | if (stdioSuppressed) { |
no outgoing calls
no test coverage detected