(objectLiteral, propKey, elementValue)
| 15814 | } |
| 15815 | ts.getPropertyAssignment = getPropertyAssignment; |
| 15816 | function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) { |
| 15817 | return ts.firstDefined(getPropertyAssignment(objectLiteral, propKey), function (property) { |
| 15818 | return ts.isArrayLiteralExpression(property.initializer) ? |
| 15819 | ts.find(property.initializer.elements, function (element) { return ts.isStringLiteral(element) && element.text === elementValue; }) : |
| 15820 | undefined; |
| 15821 | }); |
| 15822 | } |
| 15823 | ts.getPropertyArrayElementValue = getPropertyArrayElementValue; |
| 15824 | function getTsConfigObjectLiteralExpression(tsConfigSourceFile) { |
| 15825 | if (tsConfigSourceFile && tsConfigSourceFile.statements.length) { |
nothing calls this directly
no test coverage detected