(clause)
| 69819 | getReferenceRoot(parent) : node; |
| 69820 | } |
| 69821 | function getTypeOfSwitchClause(clause) { |
| 69822 | if (clause.kind === 289 /* SyntaxKind.CaseClause */) { |
| 69823 | return getRegularTypeOfLiteralType(getTypeOfExpression(clause.expression)); |
| 69824 | } |
| 69825 | return neverType; |
| 69826 | } |
| 69827 | function getSwitchClauseTypes(switchStatement) { |
| 69828 | var links = getNodeLinks(switchStatement); |
| 69829 | if (!links.switchTypes) { |
no test coverage detected