@@ -6032,6 +6032,7 @@ namespace ts {
6032
6032
ES2018 = 5 ,
6033
6033
ES2019 = 6 ,
6034
6034
ES2020 = 7 ,
6035
+ ES2021 = 8 ,
6035
6036
ESNext = 99 ,
6036
6037
JSON = 100 ,
6037
6038
Latest = ESNext ,
@@ -6443,30 +6444,31 @@ namespace ts {
6443
6444
ContainsTypeScript = 1 << 0 ,
6444
6445
ContainsJsx = 1 << 1 ,
6445
6446
ContainsESNext = 1 << 2 ,
6446
- ContainsES2020 = 1 << 3 ,
6447
- ContainsES2019 = 1 << 4 ,
6448
- ContainsES2018 = 1 << 5 ,
6449
- ContainsES2017 = 1 << 6 ,
6450
- ContainsES2016 = 1 << 7 ,
6451
- ContainsES2015 = 1 << 8 ,
6452
- ContainsGenerator = 1 << 9 ,
6453
- ContainsDestructuringAssignment = 1 << 10 ,
6447
+ ContainsES2021 = 1 << 3 ,
6448
+ ContainsES2020 = 1 << 4 ,
6449
+ ContainsES2019 = 1 << 5 ,
6450
+ ContainsES2018 = 1 << 6 ,
6451
+ ContainsES2017 = 1 << 7 ,
6452
+ ContainsES2016 = 1 << 8 ,
6453
+ ContainsES2015 = 1 << 9 ,
6454
+ ContainsGenerator = 1 << 10 ,
6455
+ ContainsDestructuringAssignment = 1 << 11 ,
6454
6456
6455
6457
// Markers
6456
6458
// - Flags used to indicate that a subtree contains a specific transformation.
6457
- ContainsTypeScriptClassSyntax = 1 << 11 , // Decorators, Property Initializers, Parameter Property Initializers
6458
- ContainsLexicalThis = 1 << 12 ,
6459
- ContainsRestOrSpread = 1 << 13 ,
6460
- ContainsObjectRestOrSpread = 1 << 14 ,
6461
- ContainsComputedPropertyName = 1 << 15 ,
6462
- ContainsBlockScopedBinding = 1 << 16 ,
6463
- ContainsBindingPattern = 1 << 17 ,
6464
- ContainsYield = 1 << 18 ,
6465
- ContainsAwait = 1 << 19 ,
6466
- ContainsHoistedDeclarationOrCompletion = 1 << 20 ,
6467
- ContainsDynamicImport = 1 << 21 ,
6468
- ContainsClassFields = 1 << 22 ,
6469
- ContainsPossibleTopLevelAwait = 1 << 23 ,
6459
+ ContainsTypeScriptClassSyntax = 1 << 12 , // Decorators, Property Initializers, Parameter Property Initializers
6460
+ ContainsLexicalThis = 1 << 13 ,
6461
+ ContainsRestOrSpread = 1 << 14 ,
6462
+ ContainsObjectRestOrSpread = 1 << 15 ,
6463
+ ContainsComputedPropertyName = 1 << 16 ,
6464
+ ContainsBlockScopedBinding = 1 << 17 ,
6465
+ ContainsBindingPattern = 1 << 18 ,
6466
+ ContainsYield = 1 << 19 ,
6467
+ ContainsAwait = 1 << 20 ,
6468
+ ContainsHoistedDeclarationOrCompletion = 1 << 21 ,
6469
+ ContainsDynamicImport = 1 << 22 ,
6470
+ ContainsClassFields = 1 << 23 ,
6471
+ ContainsPossibleTopLevelAwait = 1 << 24 ,
6470
6472
6471
6473
// Please leave this as 1 << 29.
6472
6474
// It is the maximum bit we can set before we outgrow the size of a v8 small integer (SMI) on an x86 system.
@@ -6478,6 +6480,7 @@ namespace ts {
6478
6480
AssertTypeScript = ContainsTypeScript ,
6479
6481
AssertJsx = ContainsJsx ,
6480
6482
AssertESNext = ContainsESNext ,
6483
+ AssertES2021 = ContainsES2021 ,
6481
6484
AssertES2020 = ContainsES2020 ,
6482
6485
AssertES2019 = ContainsES2019 ,
6483
6486
AssertES2018 = ContainsES2018 ,
0 commit comments