(...args: unknown[])
| 1 | // Simple format function to avoid webpack issues with node:util |
| 2 | function format(...args: unknown[]): string { |
| 3 | return args.map(arg => { |
| 4 | if (typeof arg === 'string') return arg; |
| 5 | if (arg === null || arg === undefined) return String(arg); |
| 6 | if (typeof arg === 'object') { |
| 7 | try { |
| 8 | return JSON.stringify(arg); |
| 9 | } catch { |
| 10 | return String(arg); |
| 11 | } |
| 12 | } |
| 13 | return String(arg); |
| 14 | }).join(' '); |
| 15 | } |
| 16 | |
| 17 | import type { |
| 18 | ExecutionContext, |
no outgoing calls
no test coverage detected