mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix lint error
This commit is contained in:
1 parent
c5f40a1b2b
commit
1b896c2f80
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user