Fix lint error

This commit is contained in:
Andrew Casey
2017-10-11 17:35:52 -07:00
parent c5f40a1b2b
commit 1b896c2f80

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;