From 406c750258b450bff50160b05bbcf15017bd8a52 Mon Sep 17 00:00:00 2001 From: Rizumu Ayaka Date: Thu, 14 Mar 2024 14:08:12 +0800 Subject: [PATCH] fix: revert export alias --- packages/reactivity/src/index.ts | 2 +- packages/runtime-core/src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/reactivity/src/index.ts b/packages/reactivity/src/index.ts index adea81042b3..0ecc27323a6 100644 --- a/packages/reactivity/src/index.ts +++ b/packages/reactivity/src/index.ts @@ -80,7 +80,7 @@ export { reactiveReadArray, shallowReadArray } from './arrayInstrumentations' export { TrackOpTypes, TriggerOpTypes, ReactiveFlags } from './constants' export { baseWatch, - getCurrentWatcher as getCurrentEffect, + getCurrentWatcher, traverse, onWatcherCleanup, BaseWatchErrorCodes, diff --git a/packages/runtime-core/src/index.ts b/packages/runtime-core/src/index.ts index 80ceecc7f3f..d274ef4f067 100644 --- a/packages/runtime-core/src/index.ts +++ b/packages/runtime-core/src/index.ts @@ -28,6 +28,7 @@ export { // effect effect, stop, + getCurrentWatcher, onWatcherCleanup, ReactiveEffect, // effect scope