(error: unknown)
| 19 | } |
| 20 | |
| 21 | const normalizeError = (error: unknown) => { |
| 22 | if (error instanceof Error) { |
| 23 | return error; |
| 24 | } |
| 25 | return new Error(String(error)); |
| 26 | }; |
| 27 | |
| 28 | export const dedupeEndpoints = ( |
| 29 | endpoints: Array<string | null | undefined>, |
no outgoing calls
no test coverage detected