Skip to content

Commit 1c0f9a8

Browse files
committed
Renumber transform flags
1 parent 8e5178d commit 1c0f9a8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/compiler/types.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5066,26 +5066,26 @@ namespace ts {
50665066
ContainsTypeScript = 1 << 0,
50675067
ContainsJsx = 1 << 1,
50685068
ContainsESNext = 1 << 2,
5069-
ContainsES2018 = 1 << 3,
5070-
ContainsES2017 = 1 << 4,
5071-
ContainsES2016 = 1 << 5,
5072-
ContainsES2015 = 1 << 6,
5073-
ContainsGenerator = 1 << 7,
5074-
ContainsDestructuringAssignment = 1 << 8,
5069+
ContainsES2019 = 1 << 3,
5070+
ContainsES2018 = 1 << 4,
5071+
ContainsES2017 = 1 << 5,
5072+
ContainsES2016 = 1 << 6,
5073+
ContainsES2015 = 1 << 7,
5074+
ContainsGenerator = 1 << 8,
5075+
ContainsDestructuringAssignment = 1 << 9,
50755076

50765077
// Markers
50775078
// - Flags used to indicate that a subtree contains a specific transformation.
5078-
ContainsTypeScriptClassSyntax = 1 << 9, // Decorators, Property Initializers, Parameter Property Initializers
5079-
ContainsLexicalThis = 1 << 10,
5080-
ContainsRestOrSpread = 1 << 11,
5081-
ContainsObjectRestOrSpread = 1 << 12,
5082-
ContainsComputedPropertyName = 1 << 13,
5083-
ContainsBlockScopedBinding = 1 << 14,
5084-
ContainsBindingPattern = 1 << 15,
5085-
ContainsYield = 1 << 16,
5086-
ContainsHoistedDeclarationOrCompletion = 1 << 17,
5087-
ContainsDynamicImport = 1 << 18,
5088-
ContainsES2019 = 1 << 19,
5079+
ContainsTypeScriptClassSyntax = 1 << 10, // Decorators, Property Initializers, Parameter Property Initializers
5080+
ContainsLexicalThis = 1 << 11,
5081+
ContainsRestOrSpread = 1 << 12,
5082+
ContainsObjectRestOrSpread = 1 << 13,
5083+
ContainsComputedPropertyName = 1 << 14,
5084+
ContainsBlockScopedBinding = 1 << 15,
5085+
ContainsBindingPattern = 1 << 16,
5086+
ContainsYield = 1 << 17,
5087+
ContainsHoistedDeclarationOrCompletion = 1 << 18,
5088+
ContainsDynamicImport = 1 << 19,
50895089

50905090
// Please leave this as 1 << 29.
50915091
// It is the maximum bit we can set before we outgrow the size of a v8 small integer (SMI) on an x86 system.

0 commit comments

Comments
 (0)