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

Function updatePropertyAssignmentDeclaration

test/fixtures/snapshot/typescript.js:158193–158196  ·  view source on GitHub ↗
(changeTracker, file, declaration, fieldName)

Source from the content-addressed store, hash-verified

158191 changeTracker.replaceNode(file, declaration, property);
158192 }
158193 function updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName) {
158194 var assignment = ts.factory.updatePropertyAssignment(declaration, fieldName, declaration.initializer);
158195 changeTracker.replacePropertyAssignment(file, declaration, assignment);
158196 }
158197 function updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {
158198 if (ts.isPropertyDeclaration(declaration)) {
158199 updatePropertyDeclaration(changeTracker, file, declaration, type, fieldName, modifiers);

Callers 1

updateFieldDeclarationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected