(response: Response)
| 416 | } |
| 417 | |
| 418 | async function safeReadText(response: Response): Promise<string> { |
| 419 | try { |
| 420 | return await response.text(); |
| 421 | } catch (error) { |
| 422 | return `<<unable to read body: ${(error as Error).message}>>`; |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | componentRegistry.register(definition); |
no outgoing calls
no test coverage detected