diff --git a/src/compiler/factory.ts b/src/compiler/factory.ts index 3ed1c3bb9d5..718bf48389a 100644 --- a/src/compiler/factory.ts +++ b/src/compiler/factory.ts @@ -88,6 +88,7 @@ namespace ts { export function createNumericLiteral(value: string): NumericLiteral { const node = createSynthesizedNode(SyntaxKind.NumericLiteral); node.text = value; + node.numericLiteralFlags = 0; return node; }