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

Function addNamespaceQualifier

test/fixtures/snapshot/typescript.js:153856–153859  ·  view source on GitHub ↗
(changes, sourceFile, _a)

Source from the content-addressed store, hash-verified

153854 }
153855 }
153856 function addNamespaceQualifier(changes, sourceFile, _a) {
153857 var namespacePrefix = _a.namespacePrefix, position = _a.position;
153858 changes.insertText(sourceFile, position, namespacePrefix + ".");
153859 }
153860 function addImportType(changes, sourceFile, _a, quotePreference) {
153861 var moduleSpecifier = _a.moduleSpecifier, position = _a.position;
153862 changes.insertText(sourceFile, position, getImportTypePrefix(moduleSpecifier, quotePreference));

Callers 2

writeFixesFunction · 0.85
codeActionForFixWorkerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected