Pārlūkot izejas kodu

fix node-ops type declaration

Evan You 10 gadi atpakaļ
vecāks
revīzija
c908352d7c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 }