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

Function updateTypeAliasDeclaration

test/fixtures/snapshot/typescript.js:25211–25219  ·  view source on GitHub ↗
(node, decorators, modifiers, name, typeParameters, type)

Source from the content-addressed store, hash-verified

25209 }
25210 // @api
25211 function updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type) {
25212 return node.decorators !== decorators
25213 || node.modifiers !== modifiers
25214 || node.name !== name
25215 || node.typeParameters !== typeParameters
25216 || node.type !== type
25217 ? update(createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type), node)
25218 : node;
25219 }
25220 // @api
25221 function createEnumDeclaration(decorators, modifiers, name, members) {
25222 var node = createBaseNamedDeclaration(260 /* SyntaxKind.EnumDeclaration */, decorators, modifiers, name);

Callers 1

updateModifiersFunction · 0.85

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected