return undefined if we are not renaming to ensure we get the correct text
This commit is contained in:
parent
d2ead15767
commit
515cdcdd78
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue