Browse Source

fix: fix dts test

daiwei 7 months ago
parent
commit
5104f6064f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/runtime-core/src/index.ts

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

@@ -130,6 +130,7 @@ export { useSSRContext, ssrContextKey } from './helpers/useSsrContext'
 
 export { createRenderer, createHydrationRenderer } from './renderer'
 export { queuePostFlushCb } from './scheduler'
+export type { SchedulerJob } from './scheduler'
 import { warn as _warn } from './warning'
 export const warn = (__DEV__ ? _warn : NOOP) as typeof _warn
 
@@ -530,7 +531,7 @@ export { baseEmit, isEmitListener } from './componentEmits'
 /**
  * @internal
  */
-export { type SchedulerJob, queueJob, flushOnAppMount } from './scheduler'
+export { queueJob, flushOnAppMount } from './scheduler'
 /**
  * @internal
  */