@@ -417,15 +417,15 @@ namespace ts {
417417 HasImplicitReturn = 1 << 7 , // If function implicitly returns on one of codepaths (initialized by binding)
418418 HasExplicitReturn = 1 << 8 , // If function has explicit reachable return on one of codepaths (initialized by binding)
419419 GlobalAugmentation = 1 << 9 , // Set if module declaration is an augmentation for the global scope
420- HasAsyncFunctions = 1 << 13 , // If the file has async functions (initialized by binding)
421- DisallowInContext = 1 << 16 , // If node was parsed in a context where 'in-expressions' are not allowed
422- YieldContext = 1 << 17 , // If node was parsed in the 'yield' context created when parsing a generator
423- DecoratorContext = 1 << 18 , // If node was parsed as part of a decorator
424- AwaitContext = 1 << 19 , // If node was parsed in the 'await' context created when parsing an async function
425- ThisNodeHasError = 1 << 20 , // If the parser encountered an error when parsing the code that created this node
426- JavaScriptFile = 1 << 21 , // If node was parsed in a JavaScript
427- ThisNodeOrAnySubNodesHasError = 1 << 22 , // If this node or any of its children had an error
428- HasAggregatedChildData = 1 << 23 , // If we've computed data from children and cached it in this node
420+ HasAsyncFunctions = 1 << 10 , // If the file has async functions (initialized by binding)
421+ DisallowInContext = 1 << 11 , // If node was parsed in a context where 'in-expressions' are not allowed
422+ YieldContext = 1 << 12 , // If node was parsed in the 'yield' context created when parsing a generator
423+ DecoratorContext = 1 << 13 , // If node was parsed as part of a decorator
424+ AwaitContext = 1 << 14 , // If node was parsed in the 'await' context created when parsing an async function
425+ ThisNodeHasError = 1 << 15 , // If the parser encountered an error when parsing the code that created this node
426+ JavaScriptFile = 1 << 16 , // If node was parsed in a JavaScript
427+ ThisNodeOrAnySubNodesHasError = 1 << 17 , // If this node or any of its children had an error
428+ HasAggregatedChildData = 1 << 18 , // If we've computed data from children and cached it in this node
429429
430430 BlockScoped = Let | Const ,
431431
@@ -3697,6 +3697,10 @@ namespace ts {
36973697 readonly priority ?: number ; // Helpers with a higher priority are emitted earlier than other helpers on the node.
36983698 }
36993699
3700+ /**
3701+ * Used by the checker, this enum keeps track of external emit helpers that should be type
3702+ * checked.
3703+ */
37003704 /* @internal */
37013705 export const enum ExternalEmitHelpers {
37023706 Extends = 1 << 0 , // __extends (used by the ES2015 class transformation)
@@ -3707,7 +3711,6 @@ namespace ts {
37073711 Param = 1 << 5 , // __param (used by TypeScript decorators transformation)
37083712 Awaiter = 1 << 6 , // __awaiter (used by ES2017 async functions transformation)
37093713 Generator = 1 << 7 , // __generator (used by ES2015 generator transformation)
3710-
37113714 Values = 1 << 8 , // __values (used by ES2015 for..of and yield* transformations)
37123715 Step = 1 << 9 , // __step (used by ES2015 for..of transformation)
37133716 Close = 1 << 10 , // __close (used by ES2015 for..of transformation)
0 commit comments