(node)
| 82800 | checkTruthinessExpression(node.expression); |
| 82801 | } |
| 82802 | function checkWhileStatement(node) { |
| 82803 | // Grammar checking |
| 82804 | checkGrammarStatementInAmbientContext(node); |
| 82805 | checkTruthinessExpression(node.expression); |
| 82806 | checkSourceElement(node.statement); |
| 82807 | } |
| 82808 | function checkTruthinessOfType(type, node) { |
| 82809 | if (type.flags & 16384 /* TypeFlags.Void */) { |
| 82810 | error(node, ts.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness); |
no test coverage detected