Fix typo in cloneNode. (#9832)
This commit is contained in:
parent
b4224ed8f3
commit
165ef29416
@ -66,7 +66,7 @@ export default function cloneNode<T: Object>(node: T, deep: boolean = true): T {
|
|||||||
newNode.leadingComments = node.leadingComments;
|
newNode.leadingComments = node.leadingComments;
|
||||||
}
|
}
|
||||||
if (has(node, "innerComments")) {
|
if (has(node, "innerComments")) {
|
||||||
newNode.innerComments = node.innerCmments;
|
newNode.innerComments = node.innerComments;
|
||||||
}
|
}
|
||||||
if (has(node, "trailingComments")) {
|
if (has(node, "trailingComments")) {
|
||||||
newNode.trailingComments = node.trailingComments;
|
newNode.trailingComments = node.trailingComments;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user