Переглянути джерело

fix node-ops type declaration

Evan You 10 роки тому
батько
коміт
c908352d7c
1 змінених файлів з 1 додано та 1 видалено
  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
 }