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

Function getSuggestionForNonexistentExport

test/fixtures/snapshot/typescript.js:75026–75029  ·  view source on GitHub ↗
(name, targetModule)

Source from the content-addressed store, hash-verified

75024 return targetModule.exports && getSpellingSuggestionForName(ts.idText(name), getExportsOfModuleAsArray(targetModule), 2623475 /* SymbolFlags.ModuleMember */);
75025 }
75026 function getSuggestionForNonexistentExport(name, targetModule) {
75027 var suggestion = getSuggestedSymbolForNonexistentModule(name, targetModule);
75028 return suggestion && ts.symbolName(suggestion);
75029 }
75030 function getSuggestionForNonexistentIndexSignature(objectType, expr, keyedType) {
75031 // check if object type has setter or getter
75032 function hasProp(name) {

Callers

nothing calls this directly

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…