Skip to content

Commit fd6f476

Browse files
authored
Update SymbolFlags.All to be -1
1 parent a2f0cbf commit fd6f476

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5744,8 +5744,7 @@ export const enum SymbolFlags {
57445744
Transient = 1 << 25, // Transient symbol (created during type check)
57455745
Assignment = 1 << 26, // Assignment treated as declaration (eg `this.prop = 1`)
57465746
ModuleExports = 1 << 27, // Symbol for CommonJS `module` of `module.exports`
5747-
All = FunctionScopedVariable | BlockScopedVariable | Property | EnumMember | Function | Class | Interface | ConstEnum | RegularEnum | ValueModule | NamespaceModule | TypeLiteral
5748-
| ObjectLiteral | Method | Constructor | GetAccessor | SetAccessor | Signature | TypeParameter | TypeAlias | ExportValue | Alias | Prototype | ExportStar | Optional | Transient,
5747+
All = -1,
57495748

57505749
Enum = RegularEnum | ConstEnum,
57515750
Variable = FunctionScopedVariable | BlockScopedVariable,

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7001,7 +7001,7 @@ declare namespace ts {
70017001
Transient = 33554432,
70027002
Assignment = 67108864,
70037003
ModuleExports = 134217728,
7004-
All = 67108863,
7004+
All = -1,
70057005
Enum = 384,
70067006
Variable = 3,
70077007
Value = 111551,

0 commit comments

Comments
 (0)