(actual: T | null | undefined, msg: string)
| 101 | } |
| 102 | |
| 103 | export function assertDefined<T>(actual: T | null | undefined, msg: string): asserts actual is T { |
| 104 | if (actual == null) { |
| 105 | throwError(msg, actual, null, '!='); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | export function throwError(msg: string): never; |
| 110 | export function throwError(msg: string, actual: any, expected: any, comparison: string): never; |
no test coverage detected
searching dependent graphs…