diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index ddcb5c258dd37..db1475ec41c3a 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -8203,8 +8203,10 @@ function Token(this: Mutable, kind: SyntaxKind, pos: number, end: number) this.kind = kind; this.id = 0; this.flags = NodeFlags.None; + this.modifierFlagsCache = ModifierFlags.None; this.transformFlags = TransformFlags.None; this.parent = undefined!; + this.original = undefined; this.emitNode = undefined; } @@ -8214,6 +8216,7 @@ function Identifier(this: Mutable, kind: SyntaxKind, pos: number, end: num this.kind = kind; this.id = 0; this.flags = NodeFlags.None; + this.modifierFlagsCache = ModifierFlags.None; this.transformFlags = TransformFlags.None; this.parent = undefined!; this.original = undefined;