do not treat modules with '!' in names any specially

This commit is contained in:
Vladimir Matveev committed 2015-11-23 13:08:44 -08:00
1 parent fbaba90ac9
commit 2836c17791
5 files changed
+82 -4

No files matched your search

-4
View File
@@ -1034,10 +1034,6 @@ namespace ts {
return;
}
if (moduleName.indexOf("!") >= 0) {
moduleName = moduleName.substr(0, moduleName.indexOf("!"));
}
const isRelative = isExternalModuleNameRelative(moduleName);
if (!isRelative) {
const symbol = getSymbol(globals, "\"" + moduleName + "\"", SymbolFlags.ValueModule);