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

Function createTypeAliasDeclaration

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

Source from the content-addressed store, hash-verified

25202 }
25203 // @api
25204 function createTypeAliasDeclaration(decorators, modifiers, name, typeParameters, type) {
25205 var node = createBaseGenericNamedDeclaration(259 /* SyntaxKind.TypeAliasDeclaration */, decorators, modifiers, name, typeParameters);
25206 node.type = type;
25207 node.transformFlags = 1 /* TransformFlags.ContainsTypeScript */;
25208 return node;
25209 }
25210 // @api
25211 function updateTypeAliasDeclaration(node, decorators, modifiers, name, typeParameters, type) {
25212 return node.decorators !== decorators

Callers 1

Calls 1

Tested by

no test coverage detected