chore: remove unused parameter type definitions (#4607)

This commit is contained in:
tryag
2021-09-22 00:35:11 +08:00
committed by GitHub
parent 6171aecdcd
commit 08e5909659

View File

@@ -166,7 +166,7 @@ function insert(child: TestNode, parent: TestElement, ref?: TestNode | null) {
}
}
function remove(child: TestNode, logOp: boolean = true) {
function remove(child: TestNode, logOp = true) {
const parent = child.parentNode
if (parent) {
if (logOp) {