mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-12 11:08:26 -05:00
Fix initialization of TokenOrIdentifierObject#transformFlags.
This should start with `TransformFlags.None` just like in the `Node` constructor in `src/compiler/utilities.ts`.
This commit is contained in:
@@ -214,7 +214,7 @@ namespace ts {
|
||||
this.end = end;
|
||||
this.flags = NodeFlags.None;
|
||||
this.modifierFlagsCache = ModifierFlags.None;
|
||||
this.transformFlags = undefined!; // TODO: GH#18217
|
||||
this.transformFlags = TransformFlags.None;
|
||||
this.parent = undefined!;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user