@@ -295,7 +295,7 @@ namespace ts {
295295 getAllPossiblePropertiesOfTypes,
296296 getSuggestionForNonexistentProperty: (node, type) => getSuggestionForNonexistentProperty(node, type),
297297 getSuggestionForNonexistentSymbol: (location, name, meaning) => getSuggestionForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),
298- getSuggestionForNonexistentModule : (node, target) => getSuggestionForNonexistentModule (node, target),
298+ getSuggestionForNonexistentExport : (node, target) => getSuggestionForNonexistentExport (node, target),
299299 getBaseConstraintOfType,
300300 getDefaultFromTypeParameter: type => type && type.flags & TypeFlags.TypeParameter ? getDefaultFromTypeParameter(type as TypeParameter) : undefined,
301301 resolveName(name, location, meaning, excludeGlobals) {
@@ -17787,7 +17787,7 @@ namespace ts {
1778717787 return targetModule.exports && getSpellingSuggestionForName(idText(name), getExportsOfModuleAsArray(targetModule), SymbolFlags.ModuleMember);
1778817788 }
1778917789
17790- function getSuggestionForNonexistentModule (name: Identifier, targetModule: Symbol): string | undefined {
17790+ function getSuggestionForNonexistentExport (name: Identifier, targetModule: Symbol): string | undefined {
1779117791 const suggestion = getSuggestedSymbolForNonexistentModule(name, targetModule);
1779217792 return suggestion && symbolName(suggestion);
1779317793 }
0 commit comments