(
condition: boolean,
message: string,
document: { location: Location },
)
| 42 | } |
| 43 | |
| 44 | function assert( |
| 45 | condition: boolean, |
| 46 | message: string, |
| 47 | document: { location: Location }, |
| 48 | ): asserts condition { |
| 49 | if (!condition) { |
| 50 | diagnostics.push(new DocumentError(message, document)); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | function isVoidOrPromiseVoid(returnType: TsTypeDef) { |
| 55 | return isVoid(returnType) || |
no outgoing calls
no test coverage detected