Просмотр исходного кода

chore: remove unused parameter type definitions (#4607)

tryag 4 лет назад
Родитель
Сommit
08e5909659
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/runtime-test/src/nodeOps.ts

+ 1 - 1
packages/runtime-test/src/nodeOps.ts

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