Browse Source

chore: fix dts build

Evan You 1 year ago
parent
commit
92526b06de
2 changed files with 27 additions and 3 deletions
  1. 27 0
      packages/runtime-core/src/index.ts
  2. 0 3
      packages/runtime-core/src/scheduler.ts

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

@@ -487,14 +487,26 @@ export const DeprecationTypes = (
 // **IMPORTANT** These APIs are exposed solely for @vue/runtime-vapor and may
 // **IMPORTANT** These APIs are exposed solely for @vue/runtime-vapor and may
 // change without notice between versions. User code should never rely on them.
 // change without notice between versions. User code should never rely on them.
 
 
+/**
+ * @internal
+ */
 export {
 export {
   type NormalizedPropsOptions,
   type NormalizedPropsOptions,
   baseNormalizePropsOptions,
   baseNormalizePropsOptions,
   resolvePropValue,
   resolvePropValue,
   validateProps,
   validateProps,
 } from './componentProps'
 } from './componentProps'
+/**
+ * @internal
+ */
 export { baseEmit, isEmitListener } from './componentEmits'
 export { baseEmit, isEmitListener } from './componentEmits'
+/**
+ * @internal
+ */
 export { type SchedulerJob, queueJob, flushOnAppMount } from './scheduler'
 export { type SchedulerJob, queueJob, flushOnAppMount } from './scheduler'
+/**
+ * @internal
+ */
 export {
 export {
   type ComponentInternalOptions,
   type ComponentInternalOptions,
   type GenericComponentInstance,
   type GenericComponentInstance,
@@ -503,15 +515,30 @@ export {
   nextUid,
   nextUid,
   validateComponentName,
   validateComponentName,
 } from './component'
 } from './component'
+/**
+ * @internal
+ */
 export { pushWarningContext, popWarningContext } from './warning'
 export { pushWarningContext, popWarningContext } from './warning'
+/**
+ * @internal
+ */
 export {
 export {
   createAppAPI,
   createAppAPI,
   type AppMountFn,
   type AppMountFn,
   type AppUnmountFn,
   type AppUnmountFn,
 } from './apiCreateApp'
 } from './apiCreateApp'
+/**
+ * @internal
+ */
 export {
 export {
   currentInstance,
   currentInstance,
   simpleSetCurrentInstance,
   simpleSetCurrentInstance,
 } from './componentCurrentInstance'
 } from './componentCurrentInstance'
+/**
+ * @internal
+ */
 export { registerHMR, unregisterHMR } from './hmr'
 export { registerHMR, unregisterHMR } from './hmr'
+/**
+ * @internal
+ */
 export { startMeasure, endMeasure } from './profiling'
 export { startMeasure, endMeasure } from './profiling'

+ 0 - 3
packages/runtime-core/src/scheduler.ts

@@ -24,9 +24,6 @@ export enum SchedulerJobFlags {
   DISPOSED = 1 << 3,
   DISPOSED = 1 << 3,
 }
 }
 
 
-/**
- * @internal
- */
 export interface SchedulerJob extends Function {
 export interface SchedulerJob extends Function {
   id?: number
   id?: number
   /**
   /**