(x: never)
| 38 | } |
| 39 | |
| 40 | export function assertNever(x: never): never { |
| 41 | throw new Error("Unexpected object: " + x); |
| 42 | } |
| 43 | |
| 44 | export function assert(condition: boolean, message: string = "Assertion failed"): void { |
| 45 | if (!condition) { |
no outgoing calls
no test coverage detected
searching dependent graphs…