Make SymbolFlags.ObjectLiteral a Value (#26752)

Previously it was a Type

We couldn't think of a way to observe this change since object literals
don't merge with anything. Ideas?
This commit is contained in:
Nathan Shively-Sanders
2018-08-30 08:39:39 -07:00
committed by GitHub
parent d5b7edba8a
commit c327ab40bc
3 changed files with 28 additions and 28 deletions

View File

@@ -3441,8 +3441,8 @@ namespace ts {
Enum = RegularEnum | ConstEnum,
Variable = FunctionScopedVariable | BlockScopedVariable,
Value = Variable | Property | EnumMember | Function | Class | Enum | ValueModule | Method | GetAccessor | SetAccessor | JSContainer,
Type = Class | Interface | Enum | EnumMember | TypeLiteral | ObjectLiteral | TypeParameter | TypeAlias | JSContainer,
Value = Variable | Property | EnumMember | ObjectLiteral | Function | Class | Enum | ValueModule | Method | GetAccessor | SetAccessor | JSContainer,
Type = Class | Interface | Enum | EnumMember | TypeLiteral | TypeParameter | TypeAlias | JSContainer,
Namespace = ValueModule | NamespaceModule | Enum,
Module = ValueModule | NamespaceModule,
Accessor = GetAccessor | SetAccessor,