mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Remove extensions doesnt need to depend on compiler options any more
This commit is contained in:
1 parent
a8eb76fde1
commit
45b995d030
9 files changed
+18
-25
No files matched your search
@@ -442,7 +442,7 @@ namespace ts.NavigationBar {
|
||||
|
||||
hasGlobalNode = true;
|
||||
let rootName = isExternalModule(node)
|
||||
? "\"" + escapeString(getBaseFileName(removeFileExtension(normalizePath(node.fileName), getSupportedExtensions(compilerOptions)))) + "\""
|
||||
? "\"" + escapeString(getBaseFileName(removeFileExtension(normalizePath(node.fileName)))) + "\""
|
||||
: "<global>"
|
||||
|
||||
return getNavigationBarItem(rootName,
|
||||
|
||||
Reference in new issue
Block a user