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

Function addExportModifier

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

Source from the content-addressed store, hash-verified

54293 isTypeDeclaration(node);
54294 }
54295 function addExportModifier(node) {
54296 var flags = (ts.getEffectiveModifierFlags(node) | 1 /* ModifierFlags.Export */) & ~2 /* ModifierFlags.Ambient */;
54297 return ts.factory.updateModifiers(node, flags);
54298 }
54299 function removeExportModifier(node) {
54300 var flags = ts.getEffectiveModifierFlags(node) & ~1 /* ModifierFlags.Export */;
54301 return ts.factory.updateModifiers(node, flags);

Callers 1

inlineExportModifiersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected