(node)
| 16862 | : undefined; |
| 16863 | } |
| 16864 | function getSourceOfDefaultedAssignment(node) { |
| 16865 | return ts.isExpressionStatement(node) && |
| 16866 | ts.isBinaryExpression(node.expression) && |
| 16867 | getAssignmentDeclarationKind(node.expression) !== 0 /* AssignmentDeclarationKind.None */ && |
| 16868 | ts.isBinaryExpression(node.expression.right) && |
| 16869 | (node.expression.right.operatorToken.kind === 56 /* SyntaxKind.BarBarToken */ || node.expression.right.operatorToken.kind === 60 /* SyntaxKind.QuestionQuestionToken */) |
| 16870 | ? node.expression.right.right |
| 16871 | : undefined; |
| 16872 | } |
| 16873 | function getSingleInitializerOfVariableStatementOrPropertyDeclaration(node) { |
| 16874 | switch (node.kind) { |
| 16875 | case 237 /* SyntaxKind.VariableStatement */: |
no test coverage detected