From 92526b06deae4f8ced8e37f6f2c9abffaf0d9d64 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 11 Dec 2024 08:55:19 +0800 Subject: [PATCH] chore: fix dts build --- packages/runtime-core/src/index.ts | 27 ++++++++++++++++++++++++++ packages/runtime-core/src/scheduler.ts | 3 --- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index f9285005c2..751c8b5007 100644 --- a/packages/runtime-core/src/index.ts +++ b/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 // change without notice between versions. User code should never rely on them. +/** + * @internal + */ export { type NormalizedPropsOptions, baseNormalizePropsOptions, resolvePropValue, validateProps, } from './componentProps' +/** + * @internal + */ export { baseEmit, isEmitListener } from './componentEmits' +/** + * @internal + */ export { type SchedulerJob, queueJob, flushOnAppMount } from './scheduler' +/** + * @internal + */ export { type ComponentInternalOptions, type GenericComponentInstance, @@ -503,15 +515,30 @@ export { nextUid, validateComponentName, } from './component' +/** + * @internal + */ export { pushWarningContext, popWarningContext } from './warning' +/** + * @internal + */ export { createAppAPI, type AppMountFn, type AppUnmountFn, } from './apiCreateApp' +/** + * @internal + */ export { currentInstance, simpleSetCurrentInstance, } from './componentCurrentInstance' +/** + * @internal + */ export { registerHMR, unregisterHMR } from './hmr' +/** + * @internal + */ export { startMeasure, endMeasure } from './profiling' diff --git a/packages/runtime-core/src/scheduler.ts b/packages/runtime-core/src/scheduler.ts index a407df467f..a75eba300f 100644 --- a/packages/runtime-core/src/scheduler.ts +++ b/packages/runtime-core/src/scheduler.ts @@ -24,9 +24,6 @@ export enum SchedulerJobFlags { DISPOSED = 1 << 3, } -/** - * @internal - */ export interface SchedulerJob extends Function { id?: number /** -- 2.47.3