Prechádzať zdrojové kódy

chore: remove unused parameter type definitions (#4607)

tryag 4 rokov pred
rodič
commit
08e5909659
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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) {