Browse Source

chore: fix flow

Evan You 8 years ago
parent
commit
a11d6f37c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/util/next-tick.js

+ 1 - 1
src/core/util/next-tick.js

@@ -86,7 +86,7 @@ export function withMacroTask (fn: Function): Function {
   })
 }
 
-export function nextTick (cb?: Function, ctx?: Object): ?Promise {
+export function nextTick (cb?: Function, ctx?: Object) {
   let _resolve
   callbacks.push(() => {
     if (cb) {