@@ -295,7 +295,7 @@ namespace ts {
295
295
getAllPossiblePropertiesOfTypes,
296
296
getSuggestionForNonexistentProperty: (node, type) => getSuggestionForNonexistentProperty(node, type),
297
297
getSuggestionForNonexistentSymbol: (location, name, meaning) => getSuggestionForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),
298
- getSuggestionForNonexistentModule : (node, target) => getSuggestionForNonexistentModule (node, target),
298
+ getSuggestionForNonexistentExport : (node, target) => getSuggestionForNonexistentExport (node, target),
299
299
getBaseConstraintOfType,
300
300
getDefaultFromTypeParameter: type => type && type.flags & TypeFlags.TypeParameter ? getDefaultFromTypeParameter(type as TypeParameter) : undefined,
301
301
resolveName(name, location, meaning, excludeGlobals) {
@@ -17787,7 +17787,7 @@ namespace ts {
17787
17787
return targetModule.exports && getSpellingSuggestionForName(idText(name), getExportsOfModuleAsArray(targetModule), SymbolFlags.ModuleMember);
17788
17788
}
17789
17789
17790
- function getSuggestionForNonexistentModule (name: Identifier, targetModule: Symbol): string | undefined {
17790
+ function getSuggestionForNonexistentExport (name: Identifier, targetModule: Symbol): string | undefined {
17791
17791
const suggestion = getSuggestedSymbolForNonexistentModule(name, targetModule);
17792
17792
return suggestion && symbolName(suggestion);
17793
17793
}
0 commit comments