(value: never, message: string)
| 20 | * Asserts that the value is never. If this function is reached, it throws. |
| 21 | */ |
| 22 | export const assertNever = (value: never, message: string): never => { |
| 23 | debugger; |
| 24 | throw new Error(message.replace('{value}', JSON.stringify(value))); |
| 25 | }; |
| 26 | |
| 27 | /** |
| 28 | * Filters the object by value. |
no test coverage detected