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

Function updateTemplateLiteralType

test/fixtures/snapshot/typescript.js:23783–23788  ·  view source on GitHub ↗
(node, head, templateSpans)

Source from the content-addressed store, hash-verified

23781 }
23782 // @api
23783 function updateTemplateLiteralType(node, head, templateSpans) {
23784 return node.head !== head
23785 || node.templateSpans !== templateSpans
23786 ? update(createTemplateLiteralType(head, templateSpans), node)
23787 : node;
23788 }
23789 function createImportTypeNode(argument, qualifierOrAssertions, typeArgumentsOrQualifier, isTypeOfOrTypeArguments, isTypeOf) {
23790 var assertion = qualifierOrAssertions && qualifierOrAssertions.kind === 295 /* SyntaxKind.ImportTypeAssertionContainer */ ? qualifierOrAssertions : undefined;
23791 var qualifier = qualifierOrAssertions && ts.isEntityName(qualifierOrAssertions) ? qualifierOrAssertions

Callers

nothing calls this directly

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected