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

Function newImportsKey

test/fixtures/snapshot/typescript.js:153028–153030  ·  view source on GitHub ↗
(moduleSpecifier, topLevelTypeOnly)

Source from the content-addressed store, hash-verified

153026 return newEntry;
153027 }
153028 function newImportsKey(moduleSpecifier, topLevelTypeOnly) {
153029 return "".concat(topLevelTypeOnly ? 1 : 0, "|").concat(moduleSpecifier);
153030 }
153031 }
153032 function writeFixes(changeTracker) {
153033 var quotePreference = ts.getQuotePreference(sourceFile, preferences);

Callers 1

getNewImportEntryFunction · 0.85

Calls 1

concatMethod · 0.80

Tested by

no test coverage detected