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

Function updateIndexSignature

test/fixtures/snapshot/typescript.js:23494–23501  ·  view source on GitHub ↗
(node, decorators, modifiers, parameters, type)

Source from the content-addressed store, hash-verified

23492 }
23493 // @api
23494 function updateIndexSignature(node, decorators, modifiers, parameters, type) {
23495 return node.parameters !== parameters
23496 || node.type !== type
23497 || node.decorators !== decorators
23498 || node.modifiers !== modifiers
23499 ? updateBaseSignatureDeclaration(createIndexSignature(decorators, modifiers, parameters, type), node)
23500 : node;
23501 }
23502 // @api
23503 function createTemplateLiteralTypeSpan(type, literal) {
23504 var node = createBaseNode(199 /* SyntaxKind.TemplateLiteralTypeSpan */);

Callers 1

updateModifiersFunction · 0.85

Calls 2

createIndexSignatureFunction · 0.85

Tested by

no test coverage detected