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

Function updateExportAssignment

test/fixtures/snapshot/typescript.js:25493–25499  ·  view source on GitHub ↗
(node, decorators, modifiers, expression)

Source from the content-addressed store, hash-verified

25491 }
25492 // @api
25493 function updateExportAssignment(node, decorators, modifiers, expression) {
25494 return node.decorators !== decorators
25495 || node.modifiers !== modifiers
25496 || node.expression !== expression
25497 ? update(createExportAssignment(decorators, modifiers, node.isExportEquals, expression), node)
25498 : node;
25499 }
25500 // @api
25501 function createExportDeclaration(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {
25502 var node = createBaseDeclaration(272 /* SyntaxKind.ExportDeclaration */, decorators, modifiers);

Callers 1

updateModifiersFunction · 0.85

Calls 2

createExportAssignmentFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected