diff --git a/packages/runtime-core/src/compat/deprecations.ts b/packages/runtime-core/src/compat/deprecations.ts index 4783b390..c2407af5 100644 --- a/packages/runtime-core/src/compat/deprecations.ts +++ b/packages/runtime-core/src/compat/deprecations.ts @@ -343,9 +343,6 @@ const deprecationData: Record<DeprecationTypes, DeprecationData> = { const instanceWarned: Record<string, true> = Object.create(null) const warnCount: Record<string, number> = Object.create(null) -/** - * @internal - */ export function warnDeprecation(key: DeprecationTypes, ...args: any[]) { if (!__DEV__) { return diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index 5131a7ae..6d393ec3 100644 --- a/packages/runtime-core/src/index.ts +++ b/packages/runtime-core/src/index.ts @@ -297,6 +297,9 @@ const _compatUtils = { softAssertCompatEnabled } +/** + * @internal only exposed in compat builds. + */ export const compatUtils = (__COMPAT__ ? _compatUtils : null) as typeof _compatUtils