(error: unknown)
| 5 | } |
| 6 | |
| 7 | export function jsoncErrorMessage(error: unknown): string { |
| 8 | return error instanceof Error ? error.message : String(error); |
| 9 | } |
| 10 | |
| 11 | function parseRoot(text: string): Record<string, unknown> { |
| 12 | const source = text.trim() === "" ? "{}\n" : text; |
no outgoing calls
no test coverage detected