We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 904f8df commit de9ff1bCopy full SHA for de9ff1b
src/compiler/checker.ts
@@ -892,6 +892,7 @@ namespace ts {
892
function mergeSymbol(target: Symbol, source: Symbol) {
893
if (!(target.flags & getExcludedSymbolFlags(source.flags)) ||
894
(source.flags | target.flags) & SymbolFlags.JSContainer) {
895
+ Debug.assert(!!(target.flags & SymbolFlags.Transient));
896
// Javascript static-property-assignment declarations always merge, even though they are also values
897
if (source.flags & SymbolFlags.ValueModule && target.flags & SymbolFlags.ValueModule && target.constEnumOnlyModule && !source.constEnumOnlyModule) {
898
// reset flag when merging instantiated module into value module that has only const enums
0 commit comments