From: Evan You Date: Thu, 8 Apr 2021 21:15:02 +0000 (-0400) Subject: chore: fix dts X-Git-Tag: v3.1.0-beta.1~59^2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d71c488540d50866c785efbb51a130850e829812;p=thirdparty%2Fvuejs%2Fcore.git chore: fix dts --- diff --git a/packages/runtime-core/src/compat/deprecations.ts b/packages/runtime-core/src/compat/deprecations.ts index 4783b390b8..c2407af59f 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 5131a7ae14..6d393ec380 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