chore: fix dts build

This commit is contained in:
Evan You 2024-12-11 08:55:19 +08:00
parent dbdc0aa9dd
commit 92526b06de
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
2 changed files with 27 additions and 3 deletions

View File

@ -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'

View File

@ -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
/** /**