You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!context.enclosingDeclaration || !context.tracker.moduleResolverHost) {
3888
+
// If there's no context declaration, we can't lookup a non-ambient specifier, so we just use the symbol name
3889
+
if (ambientModuleSymbolRegex.test(symbol.escapedName as string)) {
3890
+
return (symbol.escapedName as string).substring(1, (symbol.escapedName as string).length - 1);
3905
3891
}
3906
-
return specifier;
3892
+
return getSourceFileOfNode(getNonAugmentationDeclaration(symbol)!).fileName; // A resolver may not be provided for baselines and errors - in those cases we use the fileName in full
0 commit comments