Ver código fonte

types(watch): export watchEffect types (#866)

Yang Mingshan 6 anos atrás
pai
commit
dff2fbab93
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      packages/runtime-core/src/index.ts

+ 2 - 0
packages/runtime-core/src/index.ts

@@ -147,6 +147,8 @@ export {
 } from '@vue/reactivity'
 export {
   // types
+  WatchEffect,
+  BaseWatchOptions,
   WatchOptions,
   WatchCallback,
   WatchSource,