mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Set numericLiteralFlags in factory to align with parser
This commit is contained in:
1 parent
fd081f40a8
commit
d32231ebe3
1 file changed
+1
@@ -88,6 +88,7 @@ namespace ts {
|
||||
export function createNumericLiteral(value: string): NumericLiteral {
|
||||
const node = <NumericLiteral>createSynthesizedNode(SyntaxKind.NumericLiteral);
|
||||
node.text = value;
|
||||
node.numericLiteralFlags = 0;
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user