MCPcopy Create free account
hub / github.com/nodejs/node / applyChange

Function applyChange

test/fixtures/snapshot/typescript.js:150688–150692  ·  view source on GitHub ↗
(changeTracker, initializer, sourceFile, fixedNodes)

Source from the content-addressed store, hash-verified

150686 }
150687 }
150688 function applyChange(changeTracker, initializer, sourceFile, fixedNodes) {
150689 if (!fixedNodes || ts.tryAddToSet(fixedNodes, initializer)) {
150690 changeTracker.insertModifierBefore(sourceFile, 85 /* SyntaxKind.ConstKeyword */, initializer);
150691 }
150692 }
150693 function isPossiblyPartOfDestructuring(node) {
150694 switch (node.kind) {
150695 case 79 /* SyntaxKind.Identifier */:

Callers 1

makeChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected