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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {