Explorar el Código

fix node-ops type declaration

Evan You hace 10 años
padre
commit
c908352d7c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/platforms/web/runtime/node-ops.js

+ 1 - 1
src/platforms/web/runtime/node-ops.js

@@ -30,7 +30,7 @@ export function parentNode (node: Node): ?Element {
   return node.parentElement
 }
 
-export function nextSibling (node: Node): Node {
+export function nextSibling (node: Node): ?Node {
   return node.nextSibling
 }