Fix lint error

This commit is contained in:
Andrew Casey committed 2017-10-11 17:35:52 -07:00
1 parent c5f40a1b2b
commit 1b896c2f80
1 file changed
+2 -1
+2 -1
View File
@@ -1352,7 +1352,8 @@ namespace ts {
const clone = getSynthesizedClone(node);
if (isStringLiteral(clone)) {
clone.textSourceNode = node as any;
} else if (isNumericLiteral(clone)) {
}
else if (isNumericLiteral(clone)) {
clone.numericLiteralFlags = (node as any).numericLiteralFlags;
}
clone.pos = node.pos;