mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
Ensure type/namespaceish statics are included in the list of namespace merge members (#38920)
* Ensure type/namespaceish statics are included in the list of namespace merge members * Simplit into two lines * Update baseline post-merge
This commit is contained in:
@@ -6510,7 +6510,8 @@ namespace ts {
|
||||
}
|
||||
|
||||
function isNamespaceMember(p: Symbol) {
|
||||
return !(p.flags & SymbolFlags.Prototype || p.escapedName === "prototype" || p.valueDeclaration && isClassLike(p.valueDeclaration.parent));
|
||||
return !!(p.flags & (SymbolFlags.Type | SymbolFlags.Namespace | SymbolFlags.Alias)) ||
|
||||
!(p.flags & SymbolFlags.Prototype || p.escapedName === "prototype" || p.valueDeclaration && isClassLike(p.valueDeclaration.parent));
|
||||
}
|
||||
|
||||
function serializeAsClass(symbol: Symbol, localName: string, modifierFlags: ModifierFlags) {
|
||||
|
||||
Reference in New Issue
Block a user