(...args: Parameters<typeof originalError>)
| 7 | const originalError = console.error |
| 8 | |
| 9 | const error = (...args: Parameters<typeof originalError>) => { |
| 10 | const message = typeof args[0] === 'string' ? args[0] : null |
| 11 | if (!message || !consoleFilters.some((filter) => filter.test(message))) { |
| 12 | originalError(...args) |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | console.error = error |
| 17 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…