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

Function isDuplicatedCommonJSExport

test/fixtures/snapshot/typescript.js:85587–85591  ·  view source on GitHub ↗
(declarations)

Source from the content-addressed store, hash-verified

85585 }
85586 }
85587 function isDuplicatedCommonJSExport(declarations) {
85588 return declarations
85589 && declarations.length > 1
85590 && declarations.every(function (d) { return ts.isInJSFile(d) && ts.isAccessExpression(d) && (ts.isExportsIdentifier(d.expression) || ts.isModuleExportsAccessExpression(d.expression)); });
85591 }
85592 function checkSourceElement(node) {
85593 if (node) {
85594 var saveCurrentNode = currentNode;

Callers 3

getTypeOfAliasFunction · 0.85

Calls 1

everyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…