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

Function cleanup

test/fixtures/snapshot/typescript.js:54755–54758  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

54753 || typeToTypeNodeHelper(getTypeFromTypeNode(a), context);
54754 })));
54755 function cleanup(result) {
54756 context.enclosingDeclaration = oldEnclosing;
54757 return result;
54758 }
54759 });
54760 if (result.length === clauses.length) {
54761 return result;

Callers 4

sanitizeJSDocImplementsFunction · 0.70
ensureTypeFunction · 0.70
visitDeclarationSubtreeFunction · 0.70

Calls 3

isEnclosingDeclarationFunction · 0.85
preserveJsDocFunction · 0.85
checkNameFunction · 0.70

Tested by

no test coverage detected