mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
return undefined if we are not renaming to ensure we get the correct text
This commit is contained in:
@@ -11142,7 +11142,7 @@ module ts {
|
||||
// If this is es6 or higher, just use the name of the export
|
||||
// no need to qualify it.
|
||||
if (languageVersion >= ScriptTarget.ES6) {
|
||||
return symbolName;
|
||||
return undefined;
|
||||
}
|
||||
else {
|
||||
return "exports." + symbolName;
|
||||
|
||||
Reference in New Issue
Block a user