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:
Benedikt Meurer
2019-02-06 16:51:32 +01:00
parent 97c557eb04
commit fb65adbd23

View File

@@ -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!;
}