(expr)
| 16570 | } |
| 16571 | ts.getAssignmentDeclarationKind = getAssignmentDeclarationKind; |
| 16572 | function isBindableObjectDefinePropertyCall(expr) { |
| 16573 | return ts.length(expr.arguments) === 3 && |
| 16574 | ts.isPropertyAccessExpression(expr.expression) && |
| 16575 | ts.isIdentifier(expr.expression.expression) && |
| 16576 | ts.idText(expr.expression.expression) === "Object" && |
| 16577 | ts.idText(expr.expression.name) === "defineProperty" && |
| 16578 | isStringOrNumericLiteralLike(expr.arguments[1]) && |
| 16579 | isBindableStaticNameExpression(expr.arguments[0], /*excludeThisKeyword*/ true); |
| 16580 | } |
| 16581 | ts.isBindableObjectDefinePropertyCall = isBindableObjectDefinePropertyCall; |
| 16582 | /** x.y OR x[0] */ |
| 16583 | function isLiteralLikeAccess(node) { |
no test coverage detected
searching dependent graphs…