Add t.cloneNode and deprecate t.clone and t.cloneDeep (#7149)
This commit is contained in:
@@ -525,7 +525,7 @@ class BlockScoping {
|
||||
|
||||
// turn outsideLetReferences into an array
|
||||
const args = values(outsideRefs);
|
||||
const params = args.map(id => t.clone(id));
|
||||
const params = args.map(id => t.cloneNode(id));
|
||||
|
||||
const isSwitch = this.blockPath.isSwitchStatement();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user