MCPcopy Index your code
hub / github.com/nodejs/node / isCommonJsExportPropertyAssignment

Function isCommonJsExportPropertyAssignment

test/fixtures/snapshot/typescript.js:15746–15750  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

15744 }
15745 ts.isCommonJsExportedExpression = isCommonJsExportedExpression;
15746 function isCommonJsExportPropertyAssignment(node) {
15747 if (!isInJSFile(node))
15748 return false;
15749 return (ts.isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 1 /* AssignmentDeclarationKind.ExportsProperty */);
15750 }
15751 ts.isCommonJsExportPropertyAssignment = isCommonJsExportPropertyAssignment;
15752 function isValidESSymbolDeclaration(node) {
15753 return (ts.isVariableDeclaration(node) ? isVarConst(node) && ts.isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) :

Callers 2

Calls 2

isInJSFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…