From d71c488540d50866c785efbb51a130850e829812 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 8 Apr 2021 17:15:02 -0400 Subject: [PATCH] chore: fix dts --- packages/runtime-core/src/compat/deprecations.ts | 3 --- packages/runtime-core/src/index.ts | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 = { const instanceWarned: Record = Object.create(null) const warnCount: Record = 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