mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add merging tests
This commit is contained in:
@@ -380,7 +380,6 @@ namespace ts {
|
||||
}
|
||||
|
||||
function mergeSymbol(target: Symbol, source: Symbol) {
|
||||
//TODO: how to merge w/ shorthand ambient module?
|
||||
if (!(target.flags & getExcludedSymbolFlags(source.flags))) {
|
||||
if (source.flags & SymbolFlags.ValueModule && target.flags & SymbolFlags.ValueModule && target.constEnumOnlyModule && !source.constEnumOnlyModule) {
|
||||
// reset flag when merging instantiated module into value module that has only const enums
|
||||
|
||||
Reference in New Issue
Block a user