Fix typo in cloneNode. (#9832)

This commit is contained in:
E. van der Valk 2019-04-08 14:59:57 +02:00 committed by Justin Ridgewell
parent b4224ed8f3
commit 165ef29416

View File

@ -66,7 +66,7 @@ export default function cloneNode<T: Object>(node: T, deep: boolean = true): T {
newNode.leadingComments = node.leadingComments;
}
if (has(node, "innerComments")) {
newNode.innerComments = node.innerCmments;
newNode.innerComments = node.innerComments;
}
if (has(node, "trailingComments")) {
newNode.trailingComments = node.trailingComments;