Skip to content

Commit 51dd27a

Browse files
committed
Moved TreansformFlags assertions after markers
1 parent 1a0b877 commit 51dd27a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/compiler/types.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,13 +2749,6 @@ namespace ts {
27492749
ES6 = 1 << 6,
27502750
ContainsES6 = 1 << 7,
27512751

2752-
// Assertions
2753-
// - Bitmasks that are used to assert facts about the syntax of a node and its subtree.
2754-
AssertTypeScript = TypeScript | ContainsTypeScript,
2755-
AssertJsx = Jsx | ContainsJsx,
2756-
AssertES7 = ES7 | ContainsES7,
2757-
AssertES6 = ES6 | ContainsES6,
2758-
27592752
// Markers
27602753
// - Flags used to indicate that a subtree contains a specific transformation.
27612754
ContainsDecorators = 1 << 8,
@@ -2767,6 +2760,13 @@ namespace ts {
27672760
ContainsSpreadElementExpression = 1 << 14,
27682761
ContainsComputedPropertyName = 1 << 15,
27692762

2763+
// Assertions
2764+
// - Bitmasks that are used to assert facts about the syntax of a node and its subtree.
2765+
AssertTypeScript = TypeScript | ContainsTypeScript,
2766+
AssertJsx = Jsx | ContainsJsx,
2767+
AssertES7 = ES7 | ContainsES7,
2768+
AssertES6 = ES6 | ContainsES6,
2769+
27702770
// Scope Exclusions
27712771
// - Bitmasks that exclude flags from propagating out of a specific context
27722772
// into the subtree flags of their container.

0 commit comments

Comments
 (0)