Closed emilos closed 4 years ago
It would be nice to be able to just do:
const tree = new AbstractSyntaxTree(source) tree.replace(node => {})
instead of doing:
const tree = new AbstractSyntaxTree(source) tree.replace({ enter(node) {} })
It would be nice to be able to just do:
instead of doing: